Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 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-ssh4793184268998130156.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-ssh1047545739739616742.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/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4090602002072423819.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-ssh11126550790744305599.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh14042301176280405598.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9497 in /w/workspace/foundry_device-onvif-camera_main [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/foundry_device-onvif-camera_main # 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 Avoid second fetch Checking out Revision 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 (main) Commit message: "Merge pull request #320 from weichou1229/bump-sdk" > 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 core.sparsecheckout # timeout=10 > git checkout -f 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 > git rev-list --no-walk b3088f74b80dce78a876441a0c72d3538a65c555 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:29:37 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:29:37 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:29:37 ========================================================= 06:29:37 EdgeX Global Pipelines Version Info 06:29:37 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:29:37 ------------------- 06:29:37 stable info: 06:29:37 ------------------- 06:29:37 Commited By: Bill Mahoney bill.mahoney@intel.com 06:29:37 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:29:37 Message: update stable to v1.0.248 06:29:38 ------------------- 06:29:38 experimental info: 06:29:38 ------------------- 06:29:38 Commited By: **** collab-it+edgex@linuxfoundation.org 06:29:38 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 06:29:38 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:29:38 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:29:39 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:29:39 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:29:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:29:39 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:29:39 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:29:39 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] echo 06:29:39 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 6f5ab4f [Pipeline] echo 06:29:39 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:29:39 provisioning config files... 06:29:39 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config11515700798608010652tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:29:39 ---> docker-login.sh 06:29:39 nexus3.edgexfoundry.org:10001 06:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:39 Configure a credential helper to remove this warning. See 06:29:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:39 06:29:39 Login Succeeded 06:29:39 nexus3.edgexfoundry.org:10002 06:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:39 Configure a credential helper to remove this warning. See 06:29:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:39 06:29:39 Login Succeeded 06:29:39 nexus3.edgexfoundry.org:10003 06:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:39 Configure a credential helper to remove this warning. See 06:29:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:39 06:29:39 Login Succeeded 06:29:39 nexus3.edgexfoundry.org:10004 06:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:40 Configure a credential helper to remove this warning. See 06:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:40 06:29:40 Login Succeeded 06:29:40 docker.io 06:29:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:40 Configure a credential helper to remove this warning. See 06:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:40 06:29:40 Login Succeeded 06:29:40 ---> docker-login.sh ends [Pipeline] } 06:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:29:40 + git rev-list -1 --merges 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76~1..6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] echo 06:29:40 -----------> git rev-list -1 --merges 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76~1..6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 06:29:40 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [false] [Pipeline] sh 06:29:41 + git log --format=format:%s -1 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] echo 06:29:41 ========================================================= 06:29:41 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:29:41 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:29:41 + git log --format=format:%s -1 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] echo 06:29:41 [semverPrep] GIT_COMMIT: 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76, Commit Message: Merge pull request #320 from weichou1229/bump-sdk [Pipeline] echo 06:29:41 [semverPrep] This is not a build commit. [Pipeline] sh 06:29:41 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:29:41 + grep -v github /etc/ssh/ssh_known_hosts 06:29:41 + [ -e /tmp/ssh_known_hosts ] 06:29:41 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:29:41 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:29:41 + sudo tee -a /etc/ssh/ssh_known_hosts 06:29:41 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:29:42 06:29:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:29:42 0.1.4: Pulling from edgex-devops/py-git-semver 06:29:42 b85a868b505f: Pulling fs layer 06:29:42 e2be974225ed: Pulling fs layer 06:29:42 339a4e72a1f5: Pulling fs layer 06:29:42 988bab9f4d93: Pulling fs layer 06:29:42 1469e6f7b9e6: Pulling fs layer 06:29:42 eaf3925da568: Pulling fs layer 06:29:42 bab4dde63d76: Pulling fs layer 06:29:42 bde34c3a00c8: Pulling fs layer 06:29:42 1469e6f7b9e6: Waiting 06:29:42 988bab9f4d93: Waiting 06:29:42 b352a97aabf1: Pulling fs layer 06:29:42 eaf3925da568: Waiting 06:29:42 4872d77fe225: Pulling fs layer 06:29:42 5851b861e8e6: Pulling fs layer 06:29:42 b352a97aabf1: Waiting 06:29:42 4872d77fe225: Waiting 06:29:42 bde34c3a00c8: Waiting 06:29:42 5851b861e8e6: Waiting 06:29:42 e2be974225ed: Download complete 06:29:42 988bab9f4d93: Verifying Checksum 06:29:42 988bab9f4d93: Download complete 06:29:42 1469e6f7b9e6: Verifying Checksum 06:29:42 1469e6f7b9e6: Download complete 06:29:42 eaf3925da568: Verifying Checksum 06:29:42 eaf3925da568: Download complete 06:29:42 339a4e72a1f5: Verifying Checksum 06:29:42 339a4e72a1f5: Download complete 06:29:42 bde34c3a00c8: Download complete 06:29:42 b352a97aabf1: Verifying Checksum 06:29:42 b352a97aabf1: Download complete 06:29:42 4872d77fe225: Download complete 06:29:42 5851b861e8e6: Verifying Checksum 06:29:42 5851b861e8e6: Download complete 06:29:42 b85a868b505f: Verifying Checksum 06:29:42 b85a868b505f: Download complete 06:29:43 bab4dde63d76: Verifying Checksum 06:29:43 bab4dde63d76: Download complete 06:29:44 b85a868b505f: Pull complete 06:29:44 e2be974225ed: Pull complete 06:29:44 339a4e72a1f5: Pull complete 06:29:44 988bab9f4d93: Pull complete 06:29:44 1469e6f7b9e6: Pull complete 06:29:44 eaf3925da568: Pull complete 06:29:46 bab4dde63d76: Pull complete 06:29:46 bde34c3a00c8: Pull complete 06:29:46 b352a97aabf1: Pull complete 06:29:46 4872d77fe225: Pull complete 06:29:46 5851b861e8e6: Pull complete 06:29:46 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:29:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:29:46 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:29:46 prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container 06:29:46 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:29:48 $ docker top 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 -eo pid,comm 06:29:48 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). 06:29:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:29:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:48 [ssh-agent] Looking for ssh-agent implementation... 06:29:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:48 $ docker exec 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 ssh-agent 06:29:49 SSH_AUTH_SOCK=/tmp/ssh-odRZCQl2tyKa/agent.32 06:29:49 SSH_AGENT_PID=38 06:29:49 Running ssh-add (command line suppressed) 06:29:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8462262277366645584.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8462262277366645584.key) 06:29:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:49 + git tag --points-at HEAD [Pipeline] } 06:29:49 $ docker exec --env ******** --env ******** 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 ssh-agent -k 06:29:49 unset SSH_AUTH_SOCK; 06:29:49 unset SSH_AGENT_PID; 06:29:49 echo Agent pid 38 killed; 06:29:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:29:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:29:49 [ssh-agent] Looking for ssh-agent implementation... 06:29:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:29:49 $ docker exec 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 ssh-agent 06:29:49 SSH_AUTH_SOCK=/tmp/ssh-mKAX2H1pMcYl/agent.70 06:29:49 SSH_AGENT_PID=76 06:29:49 Running ssh-add (command line suppressed) 06:29:49 Identity added: /w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8080251663379285218.key (/w/workspace/foundry_device-onvif-camera_main@tmp/private_key_8080251663379285218.key) 06:29:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:29:50 + git semver init 06:29:50 2023-04-24 06:29:50,457 [run_init] DEBUG init version:0.0.0 force:False 06:29:50 2023-04-24 06:29:50,458 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/foundry_device-onvif-camera_main/.semver 06:29:50 2023-04-24 06:29:50,459 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/foundry_device-onvif-camera_main/.semver 06:29:50 2023-04-24 06:29:50,459 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/foundry_device-onvif-camera_main/.semver'], cwd=/w/workspace/foundry_device-onvif-camera_main, universal_newlines=False, shell=None, istream=None) 06:29:51 2023-04-24 06:29:51,293 [append_file] DEBUG append to file:/w/workspace/foundry_device-onvif-camera_main/.git/info/exclude 06:29:51 2023-04-24 06:29:51,293 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/foundry_device-onvif-camera_main/.semver/main with force:False 06:29:51 2023-04-24 06:29:51,293 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:29:51 2023-04-24 06:29:51,294 [read_version] DEBUG read version from /w/workspace/foundry_device-onvif-camera_main/.semver/main 06:29:51 3.0.0-dev.31 [Pipeline] } 06:29:51 $ docker exec --env ******** --env ******** 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 ssh-agent -k 06:29:51 unset SSH_AUTH_SOCK; 06:29:51 unset SSH_AGENT_PID; 06:29:51 echo Agent pid 76 killed; 06:29:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:29:51 + git semver [Pipeline] } 06:29:52 $ docker stop --time=1 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 06:29:53 $ docker rm -f --volumes 6a621b90f82961d49e9428628c4c26ecfe57fc78f8a8c20c88b46d79b1d3c530 [Pipeline] // withDockerContainer [Pipeline] sh 06:29:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:29:54 Stashed 1 file(s) [Pipeline] echo 06:29:54 [edgeXSemver]: initialized semver on version 3.0.0-dev.31 [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 06:29:54 provisioning config files... 06:29:54 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config7075582533919745402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:29:54 ---> docker-login.sh 06:29:54 nexus3.edgexfoundry.org:10001 06:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:54 Configure a credential helper to remove this warning. See 06:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:54 06:29:54 Login Succeeded 06:29:54 nexus3.edgexfoundry.org:10002 06:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:54 Configure a credential helper to remove this warning. See 06:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:54 06:29:54 Login Succeeded 06:29:54 nexus3.edgexfoundry.org:10003 06:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:54 Configure a credential helper to remove this warning. See 06:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:54 06:29:54 Login Succeeded 06:29:54 nexus3.edgexfoundry.org:10004 06:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:54 Configure a credential helper to remove this warning. See 06:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:54 06:29:54 Login Succeeded 06:29:54 docker.io 06:29:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:29:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:29:54 Configure a credential helper to remove this warning. See 06:29:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:29:54 06:29:54 Login Succeeded 06:29:54 ---> docker-login.sh ends [Pipeline] } 06:29:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:29:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:29:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:29:55 ========================================================= 06:29:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:29:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:29:55 + 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 . 06:29:55 Sending build context to Docker daemon 26.94MB 06:29:55 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:29:55 Step 2/13 : FROM ${BASE} AS builder 06:29:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:29:55 63b65145d645: Pulling fs layer 06:29:55 a2d21d5440eb: Pulling fs layer 06:29:55 935e6c44a52c: Pulling fs layer 06:29:55 94cc34f8dd06: Pulling fs layer 06:29:55 30dea6a524f1: Pulling fs layer 06:29:55 a2aff8979fd8: Pulling fs layer 06:29:55 6808be2612f2: Pulling fs layer 06:29:55 f25807f1079a: Pulling fs layer 06:29:55 30dea6a524f1: Waiting 06:29:55 a2aff8979fd8: Waiting 06:29:55 6808be2612f2: Waiting 06:29:55 f25807f1079a: Waiting 06:29:55 a2d21d5440eb: Download complete 06:29:55 94cc34f8dd06: Verifying Checksum 06:29:55 94cc34f8dd06: Download complete 06:29:55 30dea6a524f1: Verifying Checksum 06:29:55 30dea6a524f1: Download complete 06:29:55 63b65145d645: Verifying Checksum 06:29:55 63b65145d645: Download complete 06:29:55 a2aff8979fd8: Verifying Checksum 06:29:55 a2aff8979fd8: Download complete 06:29:55 63b65145d645: Pull complete 06:29:55 a2d21d5440eb: Pull complete 06:29:56 f25807f1079a: Verifying Checksum 06:29:56 f25807f1079a: Download complete 06:29:56 935e6c44a52c: Download complete 06:29:56 6808be2612f2: Verifying Checksum 06:29:56 6808be2612f2: Download complete 06:30:00 935e6c44a52c: Pull complete 06:30:00 94cc34f8dd06: Pull complete 06:30:00 30dea6a524f1: Pull complete 06:30:00 a2aff8979fd8: Pull complete 06:30:02 6808be2612f2: Pull complete 06:30:03 f25807f1079a: Pull complete 06:30:03 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 06:30:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:30:03 ---> 3b553350e43f 06:30:03 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:30:05 ---> Running in 5f3a6f37a44b 06:30:05 Removing intermediate container 5f3a6f37a44b 06:30:05 ---> 77668d73307a 06:30:05 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:30:05 ---> Running in 52718f3bfac7 06:30:05 Removing intermediate container 52718f3bfac7 06:30:05 ---> 63e537bb5d70 06:30:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:30:05 ---> Running in 39dffee8c501 06:30:05 Removing intermediate container 39dffee8c501 06:30:05 ---> 0891acb25ad6 06:30:05 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:30:05 ---> Running in de0ed3aefea7 06:30:05 Removing intermediate container de0ed3aefea7 06:30:05 ---> 500163cfb5cd 06:30:05 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:30:05 ---> Running in da122437d783 06:30:05 Removing intermediate container da122437d783 06:30:05 ---> 770c461f29ea 06:30:05 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:30:05 ---> Running in 925006f80915 06:30:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:30:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:30:06 OK: 265 MiB in 53 packages 06:30:07 Removing intermediate container 925006f80915 06:30:07 ---> 2d179b1c1c68 06:30:07 Step 9/13 : WORKDIR /device-onvif-camera 06:30:07 ---> Running in efcfc025129a 06:30:07 Removing intermediate container efcfc025129a 06:30:07 ---> a7dae533851d 06:30:07 Step 10/13 : COPY go.mod vendor* ./ 06:30:07 ---> 3b688609e4ae 06:30:07 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:30:07 ---> Running in 1bd2c79d7800 06:30:09 Still waiting to schedule task 06:30:09 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:30:29 Removing intermediate container 1bd2c79d7800 06:30:29 ---> 14ad6121b856 06:30:29 Step 12/13 : COPY . . 06:30:30 ---> 70b99842ea8b 06:30:30 Step 13/13 : RUN ${MAKE} 06:30:30 ---> Running in 543228d0e61f 06:30:30 noop 06:30:30 Removing intermediate container 543228d0e61f 06:30:30 ---> b73f3ccd46da 06:30:30 Successfully built b73f3ccd46da 06:30:30 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:31 + docker inspect -f . ci-base-image-x86_64 06:30:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:31 prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container 06:30:31 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 06:30:31 $ docker top c6124939bf736cfa3eb76d3be65940de6e81c15caf727a8b7ac080395c381de0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:32 + go version 06:30:32 go version go1.20.2 linux/amd64 [Pipeline] } 06:30:32 $ docker stop --time=1 c6124939bf736cfa3eb76d3be65940de6e81c15caf727a8b7ac080395c381de0 06:30:33 $ docker rm -f --volumes c6124939bf736cfa3eb76d3be65940de6e81c15caf727a8b7ac080395c381de0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:30:33 + docker inspect -f . ci-base-image-x86_64 06:30:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:30:33 prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container 06:30:33 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** ci-base-image-x86_64 cat 06:30:34 $ docker top d934c6ac3c37c595bd0aadd04e47ae12d0c8c0945434109f167a7b5bd3f12779 -eo pid,comm [Pipeline] { [Pipeline] sh 06:30:34 + git config --global --add safe.directory /w/workspace/foundry_device-onvif-camera_main [Pipeline] fileExists [Pipeline] sh 06:30:34 + make test 06:30:34 go test ./... -coverprofile=coverage.out ./... 06:30:40 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:30:50 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:30:50 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:30:52 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.035s coverage: 31.6% of statements 06:30:52 ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.066s coverage: 86.5% of statements 06:31:00 go vet ./... 06:31:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:31:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:31:03 ./bin/test-attribution-txt.sh [Pipeline] echo 06:31:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:31:03 $ docker stop --time=1 d934c6ac3c37c595bd0aadd04e47ae12d0c8c0945434109f167a7b5bd3f12779 06:31:06 $ docker rm -f --volumes d934c6ac3c37c595bd0aadd04e47ae12d0c8c0945434109f167a7b5bd3f12779 [Pipeline] // withDockerContainer [Pipeline] sh 06:31:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:31:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:31:07 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:31:07 + ls -al . 06:31:07 total 236 06:31:07 drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 06:30 . 06:31:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:29 .. 06:31:07 drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 06:29 .git 06:31:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:29 .github 06:31:07 -rw-rw-r-- 1 jenkins jenkins 496 Apr 24 06:29 .gitignore 06:31:07 -rw-rw-r-- 1 jenkins jenkins 42 Apr 24 06:29 .golangci.yml 06:31:07 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:29 .semver 06:31:07 -rw-rw-r-- 1 jenkins jenkins 9861 Apr 24 06:29 Attribution.txt 06:31:07 -rw-rw-r-- 1 jenkins jenkins 6312 Apr 24 06:29 CHANGELOG.md 06:31:07 -rw-rw-r-- 1 jenkins jenkins 1574 Apr 24 06:29 Dockerfile 06:31:07 -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 06:29 GOVERNANCE.md 06:31:07 -rw-rw-r-- 1 jenkins jenkins 734 Apr 24 06:29 Jenkinsfile 06:31:07 -rw-rw-r-- 1 jenkins jenkins 11348 Apr 24 06:29 LICENSE 06:31:07 -rw-rw-r-- 1 jenkins jenkins 2751 Apr 24 06:29 Makefile 06:31:07 -rw-rw-r-- 1 jenkins jenkins 625 Apr 24 06:29 OWNERS.md 06:31:07 -rw-rw-r-- 1 jenkins jenkins 6250 Apr 24 06:29 README.md 06:31:07 -rw-rw-r-- 1 jenkins jenkins 12 Apr 24 06:29 VERSION 06:31:07 drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 06:29 bin 06:31:07 drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 06:29 cmd 06:31:07 -rw-r--r-- 1 jenkins jenkins 78922 Apr 24 06:30 coverage.out 06:31:07 drwxrwxr-x 6 jenkins jenkins 4096 Apr 24 06:29 doc 06:31:07 -rw-rw-r-- 1 jenkins jenkins 3557 Apr 24 06:29 go.mod 06:31:07 -rw-rw-r-- 1 jenkins jenkins 32947 Apr 24 06:29 go.sum 06:31:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:29 internal 06:31:07 drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 06:29 snap 06:31:07 -rw-rw-r-- 1 jenkins jenkins 236 Apr 24 06:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:07 + 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=6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 --label arch=amd64 --label version=3.0.0-dev.31 . 06:31:07 Sending build context to Docker daemon 27.02MB 06:31:07 Step 1/26 : ARG BASE=golang:1.20-alpine3.17 06:31:07 Step 2/26 : FROM ${BASE} AS builder 06:31:07 ---> b73f3ccd46da 06:31:07 Step 3/26 : ARG ADD_BUILD_TAGS="" 06:31:08 ---> Running in c940e81a2180 06:31:08 Removing intermediate container c940e81a2180 06:31:08 ---> 27ef1001de52 06:31:08 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:31:08 ---> Running in 9eeb336d9afb 06:31:08 Removing intermediate container 9eeb336d9afb 06:31:08 ---> 8f3fd8163fda 06:31:08 Step 5/26 : ARG ALPINE_PKG_BASE="make git" 06:31:08 ---> Running in 39583e5d9a27 06:31:08 Removing intermediate container 39583e5d9a27 06:31:08 ---> 6a2c6eccee7a 06:31:08 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 06:31:08 ---> Running in b67fefb5fccc 06:31:08 Removing intermediate container b67fefb5fccc 06:31:08 ---> ee855183d444 06:31:08 Step 7/26 : LABEL Name=edgex-device-onvif-camera 06:31:08 ---> Running in 73079fc9436c 06:31:08 Removing intermediate container 73079fc9436c 06:31:08 ---> 4ad3a798ab62 06:31:08 Step 8/26 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:31:08 ---> Running in e023cfc39fa7 06:31:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:31:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:31:09 OK: 265 MiB in 53 packages 06:31:09 Removing intermediate container e023cfc39fa7 06:31:09 ---> 24384e4801a8 06:31:09 Step 9/26 : WORKDIR /device-onvif-camera 06:31:09 ---> Running in b750b75fb874 06:31:09 Removing intermediate container b750b75fb874 06:31:09 ---> d457ecdb3852 06:31:09 Step 10/26 : COPY go.mod vendor* ./ 06:31:09 ---> 83921f64e88c 06:31:09 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:31:09 ---> Running in 938500f05387 06:31:10 Removing intermediate container 938500f05387 06:31:10 ---> 6f05bd2630d0 06:31:10 Step 12/26 : COPY . . 06:31:11 ---> 611b41a5c5ac 06:31:11 Step 13/26 : RUN ${MAKE} 06:31:11 ---> Running in 32f60800ad0f 06:31:11 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-onvif-camera.Version=3.0.0-dev.31" -trimpath -mod=readonly -o cmd/device-onvif-camera ./cmd 06:31:29 Removing intermediate container 32f60800ad0f 06:31:29 ---> 928527d53aa9 06:31:29 Step 14/26 : FROM alpine:3.17 06:31:29 3.17: Pulling from library/alpine 06:31:29 f56be85fc22e: Pulling fs layer 06:31:29 f56be85fc22e: Verifying Checksum 06:31:29 f56be85fc22e: Download complete 06:31:29 f56be85fc22e: Pull complete 06:31:29 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:31:29 Status: Downloaded newer image for alpine:3.17 06:31:29 ---> 9ed4aefc74f6 06:31:29 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel Corporation' 06:31:29 ---> Running in 3b232eefc5bf 06:31:29 Removing intermediate container 3b232eefc5bf 06:31:29 ---> 4620c8bd6f00 06:31:29 Step 16/26 : RUN apk add --update --no-cache dumb-init 06:31:29 ---> Running in 9fbfd684b443 06:31:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:31:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:31:30 (1/1) Installing dumb-init (1.2.5-r2) 06:31:30 Executing busybox-1.35.0-r29.trigger 06:31:30 OK: 7 MiB in 16 packages 06:31:30 Removing intermediate container 9fbfd684b443 06:31:30 ---> 20ae60768499 06:31:30 Step 17/26 : WORKDIR / 06:31:30 ---> Running in ffb77ee43a61 06:31:30 Removing intermediate container ffb77ee43a61 06:31:30 ---> 09c599cfe34c 06:31:30 Step 18/26 : COPY --from=builder /device-onvif-camera/cmd / 06:31:31 ---> 3a219b5a52fb 06:31:31 Step 19/26 : COPY --from=builder /device-onvif-camera/LICENSE / 06:31:31 ---> 590556eaab68 06:31:31 Step 20/26 : COPY --from=builder /device-onvif-camera/Attribution.txt / 06:31:31 ---> 58509a7ff976 06:31:31 Step 21/26 : EXPOSE 59984 06:31:31 ---> Running in 8429fc28c5b3 06:31:31 Removing intermediate container 8429fc28c5b3 06:31:31 ---> 75b178cdcb80 06:31:31 Step 22/26 : ENTRYPOINT ["/device-onvif-camera"] 06:31:31 ---> Running in f190f29a5d16 06:31:32 Removing intermediate container f190f29a5d16 06:31:32 ---> 8c297a439982 06:31:32 Step 23/26 : CMD ["--cp=consul.http://edgex-core-consul:8500", "--registry"] 06:31:32 ---> Running in e416acc83deb 06:31:32 Removing intermediate container e416acc83deb 06:31:32 ---> 83f44dc96b2f 06:31:32 Step 24/26 : LABEL arch=amd64 06:31:32 ---> Running in 3ad37bedba74 06:31:32 Removing intermediate container 3ad37bedba74 06:31:32 ---> 93ccdcb5cb15 06:31:32 Step 25/26 : LABEL git_sha=6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 06:31:32 ---> Running in 56c690c443b0 06:31:32 Removing intermediate container 56c690c443b0 06:31:32 ---> ba3a468c7de9 06:31:32 Step 26/26 : LABEL version=3.0.0-dev.31 06:31:32 ---> Running in 6af697965d5c 06:31:32 Removing intermediate container 6af697965d5c 06:31:32 ---> 82f8eaf3f34c 06:31:32 [Warning] One or more build-args [ARCH] were not consumed 06:31:32 Successfully built 82f8eaf3f34c 06:31:32 Successfully tagged device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:31:32 provisioning config files... 06:31:32 copy managed file [device-onvif-camera-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2731250698306265712tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:31:33 ---> docker-login.sh 06:31:33 nexus3.edgexfoundry.org:10001 06:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:33 Configure a credential helper to remove this warning. See 06:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:33 06:31:33 Login Succeeded 06:31:33 nexus3.edgexfoundry.org:10002 06:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:33 Configure a credential helper to remove this warning. See 06:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:33 06:31:33 Login Succeeded 06:31:33 nexus3.edgexfoundry.org:10003 06:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:33 Configure a credential helper to remove this warning. See 06:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:33 06:31:33 Login Succeeded 06:31:33 nexus3.edgexfoundry.org:10004 06:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:33 Configure a credential helper to remove this warning. See 06:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:33 06:31:33 Login Succeeded 06:31:33 docker.io 06:31:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:31:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:31:33 Configure a credential helper to remove this warning. See 06:31:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:31:33 06:31:33 Login Succeeded 06:31:33 ---> docker-login.sh ends [Pipeline] } 06:31:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:31:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:31:33 [edgeXDocker.push] Tagging docker image device-onvif-camera with the following tags: 06:31:33 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 06:31:33 latest 06:31:33 3.0.0-dev.31 06:31:33 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31 06:31:33 main 06:31:33 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:34 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:34 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 06:31:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:31:34 b2ba6b1bb453: Preparing 06:31:34 f031b7bffcc4: Preparing 06:31:34 c0d4c0b4b949: Preparing 06:31:34 8ad0acfcb47f: Preparing 06:31:34 f1417ff83b31: Preparing 06:31:34 f1417ff83b31: Layer already exists 06:31:34 8ad0acfcb47f: Pushed 06:31:34 f031b7bffcc4: Pushed 06:31:34 b2ba6b1bb453: Pushed 06:31:36 c0d4c0b4b949: Pushed 06:31:36 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:37 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:37 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:31:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:31:37 b2ba6b1bb453: Preparing 06:31:37 f031b7bffcc4: Preparing 06:31:37 c0d4c0b4b949: Preparing 06:31:37 8ad0acfcb47f: Preparing 06:31:37 f1417ff83b31: Preparing 06:31:37 f1417ff83b31: Layer already exists 06:31:37 c0d4c0b4b949: Layer already exists 06:31:37 b2ba6b1bb453: Layer already exists 06:31:37 f031b7bffcc4: Layer already exists 06:31:37 8ad0acfcb47f: Layer already exists 06:31:37 latest: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:37 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.31 06:31:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:31:38 b2ba6b1bb453: Preparing 06:31:38 f031b7bffcc4: Preparing 06:31:38 c0d4c0b4b949: Preparing 06:31:38 8ad0acfcb47f: Preparing 06:31:38 f1417ff83b31: Preparing 06:31:38 b2ba6b1bb453: Layer already exists 06:31:38 8ad0acfcb47f: Layer already exists 06:31:38 f031b7bffcc4: Layer already exists 06:31:38 f1417ff83b31: Layer already exists 06:31:38 c0d4c0b4b949: Layer already exists 06:31:38 3.0.0-dev.31: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:38 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:38 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31 06:31:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:31:38 b2ba6b1bb453: Preparing 06:31:38 f031b7bffcc4: Preparing 06:31:38 c0d4c0b4b949: Preparing 06:31:38 8ad0acfcb47f: Preparing 06:31:38 f1417ff83b31: Preparing 06:31:38 f1417ff83b31: Layer already exists 06:31:38 f031b7bffcc4: Layer already exists 06:31:38 b2ba6b1bb453: Layer already exists 06:31:38 8ad0acfcb47f: Layer already exists 06:31:38 c0d4c0b4b949: Layer already exists 06:31:38 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:39 + docker tag device-onvif-camera nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:39 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9500 in /w/workspace/foundry_device-onvif-camera_main [Pipeline] { [Pipeline] ws 06:31:39 Running in /w/workspace/device-onvif-camera/125 [Pipeline] { [Pipeline] checkout 06:31:39 The recommended git tool is: git 06:31:39 + docker push nexus3.edgexfoundry.org:10004/device-onvif-camera:main 06:31:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-onvif-camera] 06:31:39 b2ba6b1bb453: Preparing 06:31:39 f031b7bffcc4: Preparing 06:31:39 c0d4c0b4b949: Preparing 06:31:39 8ad0acfcb47f: Preparing 06:31:39 f1417ff83b31: Preparing 06:31:39 f1417ff83b31: Layer already exists 06:31:39 b2ba6b1bb453: Layer already exists 06:31:39 8ad0acfcb47f: Layer already exists 06:31:39 f031b7bffcc4: Layer already exists 06:31:39 c0d4c0b4b949: Layer already exists 06:31:39 main: digest: sha256:1d209bb2133655e82c7636d28a0592f789ede34e2cc6471a694696869b4d8cb9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:31:39 ===================================================== [Pipeline] echo 06:31:39 taggedImages: 06:31:39 - nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 06:31:39 - nexus3.edgexfoundry.org:10004/device-onvif-camera:latest 06:31:39 - nexus3.edgexfoundry.org:10004/device-onvif-camera:3.0.0-dev.31 06:31:39 - nexus3.edgexfoundry.org:10004/device-onvif-camera:6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76-3.0.0-dev.31 06:31:39 - nexus3.edgexfoundry.org:10004/device-onvif-camera:main [Pipeline] } [Pipeline] // script [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 06:31:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:31:39 06:31:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:31:40 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:31:40 latest: Pulling from edgex-lftools-log-publisher 06:31:40 5eb5b503b376: Pulling fs layer 06:31:40 5c69ac0246d0: Pulling fs layer 06:31:40 ec43610c2a17: Pulling fs layer 06:31:40 3a2ae6a8a46f: Pulling fs layer 06:31:40 33b1e0a273af: Pulling fs layer 06:31:40 5d3b04190fa2: Pulling fs layer 06:31:40 2f39f015ded8: Pulling fs layer 06:31:40 3a2ae6a8a46f: Waiting 06:31:40 2f39f015ded8: Waiting 06:31:40 5d3b04190fa2: Waiting 06:31:40 33b1e0a273af: Waiting 06:31:40 5c69ac0246d0: Verifying Checksum 06:31:40 5c69ac0246d0: Download complete 06:31:40 3a2ae6a8a46f: Verifying Checksum 06:31:40 3a2ae6a8a46f: Download complete 06:31:40 33b1e0a273af: Verifying Checksum 06:31:40 33b1e0a273af: Download complete 06:31:40 5d3b04190fa2: Download complete 06:31:40 ec43610c2a17: Verifying Checksum 06:31:40 5eb5b503b376: Verifying Checksum 06:31:40 5eb5b503b376: Download complete 06:31:40 2f39f015ded8: Download complete 06:31:41 5eb5b503b376: Pull complete 06:31:41 5c69ac0246d0: Pull complete 06:31:42 ec43610c2a17: Pull complete 06:31:42 3a2ae6a8a46f: Pull complete 06:31:42 33b1e0a273af: Pull complete 06:31:42 5d3b04190fa2: Pull complete 06:31:44 using credential edgex-jenkins-ssh 06:31:44 Cloning the remote Git repository 06:31:44 Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git 06:31:44 > git init /w/workspace/device-onvif-camera/125 # timeout=10 06:31:44 Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git 06:31:44 > git --version # timeout=10 06:31:44 > git --version # 'git version 2.25.1' 06:31:44 using GIT_SSH to set credentials SSH Credentials for GitHub 06:31:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:46 2f39f015ded8: Pull complete 06:31:46 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:31:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:31:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:31:46 > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 06:31:46 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:31:46 prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container 06:31:46 $ 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/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:31:47 Avoid second fetch 06:31:47 Checking out Revision 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 (main) 06:31:47 > git config core.sparsecheckout # timeout=10 06:31:47 > git checkout -f 6f5ab4fb1f6ebbc2bd6b9377711afa16710aaa76 # timeout=10 06:31:48 Commit message: "Merge pull request #320 from weichou1229/bump-sdk" 06:31:48 06:31:48 GitHub has been notified of this commit’s build result 06:31:48 06:31:48 $ docker top a760f8d8c1c7ea0e6eb3f83c5a0a16f69aebd82f93b45787a36bee4354d7c785 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:31:49 ---> job-cost.sh 06:31:49 lf-activate-venv: SKIPPING 06:31:49 INFO: No Stack... 06:31:49 INFO: Retrieving Pricing Info for: v3-standard-8 06:31:49 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:31:49 % Total % Received % Xferd Average Speed Time Time Time Current 06:31:49 Dload Upload Total Spent Left Speed 06:31:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89795 0 --:--:-- --:--:-- --:--:-- 89795 06:31:49 INFO: Archiving Costs [Pipeline] sh [Pipeline] sh 06:31:50 + cat /w/workspace/foundry_device-onvif-camera_main/archives/cost.csv 06:31:50 + cut -d, -f6 [Pipeline] lock 06:31:50 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] 06:31:50 Resource [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] did not exist. Created. 06:31:50 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:31:50 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:31:50 + echo total: 0.2199999988079071 [Pipeline] stash 06:31:50 Stashed 1 file(s) [Pipeline] } 06:31:50 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [Pipeline] // lock [Pipeline] } 06:31:50 $ docker stop --time=1 a760f8d8c1c7ea0e6eb3f83c5a0a16f69aebd82f93b45787a36bee4354d7c785 06:31:50 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:31:50 + sudo tee /etc/docker/daemon.new 06:31:50 { 06:31:50 "registry-mirrors": [ 06:31:50 "https://nexus3.edgexfoundry.org:10001" 06:31:50 ], 06:31:50 "bip": "10.250.0.254/24", 06:31:50 "hosts": [ 06:31:50 "tcp://0.0.0.0:5555", 06:31:50 "unix:///var/run/docker.sock" 06:31:50 ], 06:31:50 "mtu": 1458, 06:31:50 "selinux-enabled": true, 06:31:50 "seccomp-profile": "/etc/docker/seccomp.json" 06:31:50 } 06:31:51 $ docker rm -f --volumes a760f8d8c1c7ea0e6eb3f83c5a0a16f69aebd82f93b45787a36bee4354d7c785 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] sh [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:31:52 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:31:52 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:32:10 provisioning config files... 06:32:10 copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/125@tmp/config17837506296311942687tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:32:11 ---> docker-login.sh 06:32:11 nexus3.edgexfoundry.org:10001 06:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:11 Configure a credential helper to remove this warning. See 06:32:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:11 06:32:11 Login Succeeded 06:32:11 nexus3.edgexfoundry.org:10002 06:32:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:12 Configure a credential helper to remove this warning. See 06:32:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:12 06:32:12 Login Succeeded 06:32:12 nexus3.edgexfoundry.org:10003 06:32:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:12 Configure a credential helper to remove this warning. See 06:32:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:12 06:32:12 Login Succeeded 06:32:12 nexus3.edgexfoundry.org:10004 06:32:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:12 Configure a credential helper to remove this warning. See 06:32:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:12 06:32:12 Login Succeeded 06:32:12 docker.io 06:32:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:32:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:32:13 Configure a credential helper to remove this warning. See 06:32:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:32:13 06:32:13 Login Succeeded 06:32:13 ---> docker-login.sh ends [Pipeline] } 06:32:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:32:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:32:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:32:13 ========================================================= 06:32:13 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:32:13 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:32:14 + 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 . 06:32:14 Sending build context to Docker daemon 19.67MB 06:32:14 Step 1/13 : ARG BASE=golang:1.20-alpine3.17 06:32:14 Step 2/13 : FROM ${BASE} AS builder 06:32:14 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:32:14 af6eaf76a39c: Pulling fs layer 06:32:14 55522c791124: Pulling fs layer 06:32:14 ce5c4a1c91eb: Pulling fs layer 06:32:14 169dfbe0d373: Pulling fs layer 06:32:14 e1ff8fa3b103: Pulling fs layer 06:32:14 52ebb69f0ebf: Pulling fs layer 06:32:14 5abe8eddf0d5: Pulling fs layer 06:32:14 169dfbe0d373: Waiting 06:32:14 e1ff8fa3b103: Waiting 06:32:14 52ebb69f0ebf: Waiting 06:32:14 5abe8eddf0d5: Waiting 06:32:14 55522c791124: Verifying Checksum 06:32:14 55522c791124: Download complete 06:32:14 169dfbe0d373: Verifying Checksum 06:32:14 169dfbe0d373: Download complete 06:32:14 e1ff8fa3b103: Verifying Checksum 06:32:14 e1ff8fa3b103: Download complete 06:32:14 af6eaf76a39c: Verifying Checksum 06:32:14 af6eaf76a39c: Download complete 06:32:16 5abe8eddf0d5: Verifying Checksum 06:32:16 5abe8eddf0d5: Download complete 06:32:17 ce5c4a1c91eb: Verifying Checksum 06:32:17 ce5c4a1c91eb: Download complete 06:32:17 52ebb69f0ebf: Verifying Checksum 06:32:17 52ebb69f0ebf: Download complete 06:32:17 af6eaf76a39c: Pull complete 06:32:18 55522c791124: Pull complete 06:32:30 ce5c4a1c91eb: Pull complete 06:32:31 169dfbe0d373: Pull complete 06:32:31 e1ff8fa3b103: Pull complete 06:32:39 52ebb69f0ebf: Pull complete 06:32:40 5abe8eddf0d5: Pull complete 06:32:40 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 06:32:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:32:40 ---> 6cb57ee374ae 06:32:40 Step 3/13 : ARG ADD_BUILD_TAGS="" 06:32:42 ---> Running in 53009d16f589 06:32:42 Removing intermediate container 53009d16f589 06:32:42 ---> b987808e4d88 06:32:42 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:32:42 ---> Running in 6a505b20c4d4 06:32:43 Removing intermediate container 6a505b20c4d4 06:32:43 ---> e47ac902ffde 06:32:43 Step 5/13 : ARG ALPINE_PKG_BASE="make git" 06:32:43 ---> Running in cf8d16ea437d 06:32:43 Removing intermediate container cf8d16ea437d 06:32:43 ---> 30c2a975dd2c 06:32:43 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 06:32:43 ---> Running in db36af118979 06:32:43 Removing intermediate container db36af118979 06:32:43 ---> 911b973ef484 06:32:43 Step 7/13 : LABEL Name=edgex-device-onvif-camera 06:32:43 ---> Running in f3a283ae6513 06:32:44 Removing intermediate container f3a283ae6513 06:32:44 ---> f866472394cb 06:32:44 Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:32:44 ---> Running in 878e3d44b72d 06:32:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:32:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:32:47 OK: 263 MiB in 53 packages 06:32:48 Removing intermediate container 878e3d44b72d 06:32:48 ---> cfe8b3ba02e9 06:32:48 Step 9/13 : WORKDIR /device-onvif-camera 06:32:48 ---> Running in e8015881e3d3 06:32:48 Removing intermediate container e8015881e3d3 06:32:48 ---> ca0e184e4747 06:32:48 Step 10/13 : COPY go.mod vendor* ./ 06:32:48 ---> 42e4f0981b79 06:32:48 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:32:48 ---> Running in b412ba206f9c 06:33:56 Removing intermediate container b412ba206f9c 06:33:56 ---> 5ea1977cfcb6 06:33:56 Step 12/13 : COPY . . 06:33:56 ---> 7f8f2f7c38ff 06:33:56 Step 13/13 : RUN ${MAKE} 06:33:56 ---> Running in 2d15691f58dc 06:33:56 noop 06:33:56 Removing intermediate container 2d15691f58dc 06:33:56 ---> 6a58933e0fd4 06:33:56 Successfully built 6a58933e0fd4 06:33:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:33:57 + docker inspect -f . ci-base-image-arm64 06:33:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:33:57 prd-ubuntu20.04-docker-arm64-4c-16g-9500 does not seem to be running inside a container 06:33:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/125 -v /w/workspace/device-onvif-camera/125:/w/workspace/device-onvif-camera/125:rw,z -v /w/workspace/device-onvif-camera/125@tmp:/w/workspace/device-onvif-camera/125@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 ******** ci-base-image-arm64 cat 06:33:59 $ docker top f8df1b4445432bb524e3b380afe3fe39405e53b9bf40dfd0ef16020893bf4743 -eo pid,comm [Pipeline] { [Pipeline] sh 06:33:59 + go version 06:33:59 go version go1.20.2 linux/arm64 [Pipeline] } 06:33:59 $ docker stop --time=1 f8df1b4445432bb524e3b380afe3fe39405e53b9bf40dfd0ef16020893bf4743 06:34:01 $ docker rm -f --volumes f8df1b4445432bb524e3b380afe3fe39405e53b9bf40dfd0ef16020893bf4743 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:34:02 + docker inspect -f . ci-base-image-arm64 06:34:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:34:02 prd-ubuntu20.04-docker-arm64-4c-16g-9500 does not seem to be running inside a container 06:34:02 $ 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/125 -v /w/workspace/device-onvif-camera/125:/w/workspace/device-onvif-camera/125:rw,z -v /w/workspace/device-onvif-camera/125@tmp:/w/workspace/device-onvif-camera/125@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 ******** ci-base-image-arm64 cat 06:34:03 $ docker top 974933e59f0ed0c4d0a15e5eba33478bfd7af016a20a517895f839e6040e6886 -eo pid,comm [Pipeline] { [Pipeline] sh 06:34:04 + git config --global --add safe.directory /w/workspace/device-onvif-camera/125 [Pipeline] fileExists [Pipeline] sh 06:34:05 + make test 06:34:05 go test ./... -coverprofile=coverage.out ./... 06:34:44 ? github.com/edgexfoundry/device-onvif-camera [no test files] 06:37:51 ? github.com/edgexfoundry/device-onvif-camera/cmd [no test files] 06:37:51 ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] 06:37:51 ok github.com/edgexfoundry/device-onvif-camera/internal/driver 2.215s coverage: 31.6% of statements 06:38:18 --- FAIL: TestIpGenerator (0.00s) 06:38:18 --- FAIL: TestIpGenerator/basic_/8_subnet (30.10s) 06:38:18 util_test.go:180: 06:38:18 Error Trace: /w/workspace/device-onvif-camera/125/internal/netscan/util_test.go:180 06:38:18 Error: Not equal: 06:38:18 expected: 0xfffffe 06:38:18 actual : 0xf9e921 06:38:18 Test: TestIpGenerator/basic_/8_subnet 06:38:18 util_test.go:183: 06:38:18 Error Trace: /w/workspace/device-onvif-camera/125/internal/netscan/util_test.go:183 06:38:18 Error: Not equal: 06:38:18 expected: "10.255.255.254" 06:38:18 actual : "10.249.233.33" 06:38:18 06:38:18 Diff: 06:38:18 --- Expected 06:38:18 +++ Actual 06:38:18 @@ -1 +1 @@ 06:38:18 -10.255.255.254 06:38:18 +10.249.233.33 06:38:18 Test: TestIpGenerator/basic_/8_subnet 06:38:18 FAIL 06:38:18 github.com/edgexfoundry/device-onvif-camera/internal/netscan coverage: 86.5% of statements 06:38:18 FAIL github.com/edgexfoundry/device-onvif-camera/internal/netscan 30.335s 06:38:18 FAIL 06:38:18 make: *** [Makefile:58: unittest] Error 1 [Pipeline] } 06:38:18 $ docker stop --time=1 974933e59f0ed0c4d0a15e5eba33478bfd7af016a20a517895f839e6040e6886 06:38:21 $ docker rm -f --volumes 974933e59f0ed0c4d0a15e5eba33478bfd7af016a20a517895f839e6040e6886 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:38:22 06:38:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:38:23 arm64: Pulling from edgex-lftools-log-publisher 06:38:23 8998bd30e6a1: Pulling fs layer 06:38:23 04944245beec: Pulling fs layer 06:38:23 699f458cf7ca: Pulling fs layer 06:38:23 765212b225bb: Pulling fs layer 06:38:23 f23df028b6ca: Pulling fs layer 06:38:23 d65c8cfc05b1: Pulling fs layer 06:38:23 2437ff75d9bd: Pulling fs layer 06:38:23 f23df028b6ca: Waiting 06:38:23 765212b225bb: Waiting 06:38:23 d65c8cfc05b1: Waiting 06:38:23 2437ff75d9bd: Waiting 06:38:23 04944245beec: Verifying Checksum 06:38:23 04944245beec: Download complete 06:38:23 765212b225bb: Download complete 06:38:23 f23df028b6ca: Verifying Checksum 06:38:23 f23df028b6ca: Download complete 06:38:23 d65c8cfc05b1: Verifying Checksum 06:38:23 d65c8cfc05b1: Download complete 06:38:23 699f458cf7ca: Verifying Checksum 06:38:23 699f458cf7ca: Download complete 06:38:24 8998bd30e6a1: Verifying Checksum 06:38:24 8998bd30e6a1: Download complete 06:38:26 2437ff75d9bd: Verifying Checksum 06:38:26 2437ff75d9bd: Download complete 06:38:28 8998bd30e6a1: Pull complete 06:38:28 04944245beec: Pull complete 06:38:30 699f458cf7ca: Pull complete 06:38:30 765212b225bb: Pull complete 06:38:31 f23df028b6ca: Pull complete 06:38:31 d65c8cfc05b1: Pull complete 06:38:46 2437ff75d9bd: Pull complete 06:38:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:38:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:38:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:46 prd-ubuntu20.04-docker-arm64-4c-16g-9500 does not seem to be running inside a container 06:38:46 $ 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/125 -v /w/workspace/device-onvif-camera/125:/w/workspace/device-onvif-camera/125:rw,z -v /w/workspace/device-onvif-camera/125@tmp:/w/workspace/device-onvif-camera/125@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:38:49 $ docker top b33777738a18655692de3500d8391093dfb7b76d570eff0bb27b38a0dd5a15cd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:38:50 ---> job-cost.sh 06:38:50 lf-activate-venv: SKIPPING 06:38:50 INFO: No Stack... 06:38:50 INFO: Retrieving Pricing Info for: v3-standard-4 06:38:51 INFO: Archiving Costs [Pipeline] sh 06:38:52 + cut -d, -f6 06:38:52 + cat /w/workspace/device-onvif-camera/125/archives/cost.csv [Pipeline] lock 06:38:52 Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] 06:38:52 Resource [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] did not exist. Created. 06:38:52 Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:38:52 /w/workspace/device-onvif-camera/125@tmp/durable-92b2651b/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:38:53 + echo total: 0.10999999940395355 [Pipeline] stash 06:38:53 Warning: overwriting stash ‘stack-cost’ 06:38:54 Stashed 1 file(s) [Pipeline] } 06:38:54 Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-main-125-stack-cost] [Pipeline] // lock [Pipeline] } 06:38:54 $ docker stop --time=1 b33777738a18655692de3500d8391093dfb7b76d570eff0bb27b38a0dd5a15cd 06:38:55 $ docker rm -f --volumes b33777738a18655692de3500d8391093dfb7b76d570eff0bb27b38a0dd5a15cd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } 06:38:55 Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 06:38:56 + [ -d /w/workspace/foundry_device-onvif-camera_main/archives ] 06:38:56 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:38:56 total 16 06:38:56 drwxr-xr-x 3 root root 4096 Apr 24 06:31 . 06:38:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:31 .. 06:38:56 drwxr-xr-x 2 root root 4096 Apr 24 06:31 cost 06:38:56 -rw-r--r-- 1 root root 91 Apr 24 06:31 cost.csv 06:38:56 + sudo chown -R jenkins:jenkins /w/workspace/foundry_device-onvif-camera_main/archives 06:38:56 + ls -al /w/workspace/foundry_device-onvif-camera_main/archives 06:38:56 total 16 06:38:56 drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 06:31 . 06:38:56 drwxrwxr-x 11 jenkins jenkins 4096 Apr 24 06:31 .. 06:38:56 drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 06:31 cost 06:38:56 -rw-r--r-- 1 jenkins jenkins 91 Apr 24 06:31 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:38:56 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:38:57 ---> package-listing.sh 06:38:57 ++ tr '[:upper:]' '[:lower:]' 06:38:57 ++ facter osfamily 06:38:57 + OS_FAMILY=debian 06:38:57 + workspace=/w/workspace/foundry_device-onvif-camera_main 06:38:57 + START_PACKAGES=/tmp/packages_start.txt 06:38:57 + END_PACKAGES=/tmp/packages_end.txt 06:38:57 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:38:57 + PACKAGES=/tmp/packages_start.txt 06:38:57 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:38:57 + PACKAGES=/tmp/packages_end.txt 06:38:57 + case "${OS_FAMILY}" in 06:38:57 + dpkg -l 06:38:57 + grep '^ii' 06:38:58 + '[' -f /tmp/packages_start.txt ']' 06:38:58 + '[' -f /tmp/packages_end.txt ']' 06:38:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:38:58 + '[' /w/workspace/foundry_device-onvif-camera_main ']' 06:38:58 + mkdir -p /w/workspace/foundry_device-onvif-camera_main/archives/ 06:38:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/foundry_device-onvif-camera_main/archives/ [Pipeline] echo 06:38:58 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 06:38:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:38:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:38:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:38:58 prd-ubuntu20.04-docker-8c-8g-9497 does not seem to be running inside a container 06:38:58 $ 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/foundry_device-onvif-camera_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/foundry_device-onvif-camera_main -v /w/workspace/foundry_device-onvif-camera_main:/w/workspace/foundry_device-onvif-camera_main:rw,z -v /w/workspace/foundry_device-onvif-camera_main@tmp:/w/workspace/foundry_device-onvif-camera_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:38:58 $ docker top 23b706e8aa2a3c7aa374b73545381d61bf5def6469489a239393f972897241b0 -eo pid,comm [Pipeline] { [Pipeline] sh 06:38:59 + touch /tmp/pre-build-complete [Pipeline] sh 06:38:59 + mkdir -p /var/log/sysstat [Pipeline] sh 06:38:59 + ls /var/log/sa-host 06:38:59 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:38:59 provisioning config files... 06:38:59 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/foundry_device-onvif-camera_main@tmp/config2295173011656106329tmp [Pipeline] { [Pipeline] echo 06:38:59 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:39:00 ---> create-netrc.sh [Pipeline] } 06:39:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:39:00 ---> python-tools-install.sh [Pipeline] echo 06:39:00 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:39:00 ---> sudo-logs.sh 06:39:00 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:39:00 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:39:01 ---> job-cost.sh 06:39:01 lf-activate-venv: SKIPPING 06:39:01 DEBUG: total: 0.2199999988079071 06:39:01 INFO: Retrieving Stack Cost... 06:39:01 INFO: Retrieving Pricing Info for: v3-standard-8 06:39:02 INFO: Archiving Costs [Pipeline] echo 06:39:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:39:02 ---> logs-deploy.sh 06:39:02 lf-activate-venv: SKIPPING 06:39:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/main/125 06:39:02 INFO: archiving workspace using pattern(s): 06:39:03 Archives upload complete. 06:39:03 INFO: archiving logs to Nexus