Pull request #275 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 08d83a75f754479ea02f3555ad2c4a48c6fa5977+a0fd57abbf79406ca3a821838202456f9ee8499c (45294ffce8c54f5f4a0fa9ec1c963addb3542d9d) 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-ssh15309829620289772961.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3646904648428647789.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 66200e8eedfc470904d6b329e562ec5b45423d6a The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-275/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-275/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8883342888135257304.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-275/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh2972748315375100470.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh15869835462545623642.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 Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-275/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-275/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9268777787324914289.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a 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 Running on prd-ubuntu20.04-docker-8c-8g-4334 in /w/workspace/undry_device-onvif-camera_PR-275 [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-275 # 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/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit a0fd57abbf79406ca3a821838202456f9ee8499c into PR head commit 08d83a75f754479ea02f3555ad2c4a48c6fa5977 Merge succeeded, producing 08d83a75f754479ea02f3555ad2c4a48c6fa5977 Checking out Revision 08d83a75f754479ea02f3555ad2c4a48c6fa5977 (PR-275) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] } [Pipeline] // stage > git config core.sparsecheckout # timeout=10 > git checkout -f 08d83a75f754479ea02f3555ad2c4a48c6fa5977 # 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 a0fd57abbf79406ca3a821838202456f9ee8499c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 08d83a75f754479ea02f3555ad2c4a48c6fa5977 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-17T04:02:29.311Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-17T04:02:29.467Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-17T04:02:29.553Z] ========================================================= [2023-03-17T04:02:29.553Z] EdgeX Global Pipelines Version Info [2023-03-17T04:02:29.553Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:02:30.290Z] ------------------- [2023-03-17T04:02:30.290Z] stable info: [2023-03-17T04:02:30.290Z] ------------------- [2023-03-17T04:02:30.290Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-17T04:02:30.290Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-17T04:02:30.290Z] Message: update stable to v1.0.245 [2023-03-17T04:02:30.862Z] ------------------- [2023-03-17T04:02:30.862Z] experimental info: [2023-03-17T04:02:30.862Z] ------------------- [2023-03-17T04:02:30.863Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-17T04:02:30.863Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-17T04:02:30.863Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-17T04:02:31.155Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-17T04:02:31.198Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-17T04:02:31.237Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-17T04:02:31.273Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-17T04:02:31.315Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-17T04:02:31.352Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-17T04:02:31.388Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-17T04:02:31.425Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-17T04:02:31.463Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-17T04:02:31.501Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-17T04:02:31.536Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-17T04:02:31.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-17T04:02:31.607Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-17T04:02:31.643Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-17T04:02:31.678Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T04:02:31.713Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-17T04:02:31.749Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T04:02:31.786Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-17T04:02:31.824Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-17T04:02:31.862Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-17T04:02:31.898Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-17T04:02:31.933Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-17T04:02:31.969Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-17T04:02:32.007Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-17T04:02:32.043Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-17T04:02:32.079Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-17T04:02:32.115Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-17T04:02:32.153Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-275 [Pipeline] echo [2023-03-17T04:02:32.188Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-275 [Pipeline] echo [2023-03-17T04:02:32.225Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-275 [Pipeline] echo [2023-03-17T04:02:32.270Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 08d83a75f754479ea02f3555ad2c4a48c6fa5977 [Pipeline] echo [2023-03-17T04:02:32.304Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 08d83a7 [Pipeline] echo [2023-03-17T04:02:32.343Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T04:02:32.454Z] provisioning config files... [2023-03-17T04:02:32.474Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config5151326930382428539tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:02:32.812Z] ---> docker-login.sh [2023-03-17T04:02:32.812Z] nexus3.edgexfoundry.org:10001 [2023-03-17T04:02:33.072Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:33.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:33.333Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:33.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:33.333Z] [2023-03-17T04:02:33.333Z] Login Succeeded [2023-03-17T04:02:33.333Z] nexus3.edgexfoundry.org:10002 [2023-03-17T04:02:33.333Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:33.333Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:33.333Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:33.333Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:33.333Z] [2023-03-17T04:02:33.333Z] Login Succeeded [2023-03-17T04:02:33.333Z] nexus3.edgexfoundry.org:10003 [2023-03-17T04:02:33.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:33.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:33.592Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:33.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:33.592Z] [2023-03-17T04:02:33.592Z] Login Succeeded [2023-03-17T04:02:33.592Z] nexus3.edgexfoundry.org:10004 [2023-03-17T04:02:33.592Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:33.592Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:33.592Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:33.592Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:33.592Z] [2023-03-17T04:02:33.592Z] Login Succeeded [2023-03-17T04:02:33.592Z] docker.io [2023-03-17T04:02:33.851Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:33.851Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:33.851Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:33.851Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:33.851Z] [2023-03-17T04:02:33.851Z] Login Succeeded [2023-03-17T04:02:33.851Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T04:02:33.881Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-17T04:02:34.483Z] + git rev-list -1 --merges 08d83a75f754479ea02f3555ad2c4a48c6fa5977~1..08d83a75f754479ea02f3555ad2c4a48c6fa5977 [Pipeline] echo [2023-03-17T04:02:34.543Z] -----------> git rev-list -1 --merges 08d83a75f754479ea02f3555ad2c4a48c6fa5977~1..08d83a75f754479ea02f3555ad2c4a48c6fa5977 08d83a75f754479ea02f3555ad2c4a48c6fa5977 [false] [Pipeline] sh [2023-03-17T04:02:34.846Z] + git log --format=format:%s -1 08d83a75f754479ea02f3555ad2c4a48c6fa5977 [Pipeline] echo [2023-03-17T04:02:34.882Z] ========================================================= [2023-03-17T04:02:34.882Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-17T04:02:34.882Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T04:02:35.323Z] + git log --format=format:%s -1 08d83a75f754479ea02f3555ad2c4a48c6fa5977 [Pipeline] echo [2023-03-17T04:02:35.357Z] [semverPrep] GIT_COMMIT: 08d83a75f754479ea02f3555ad2c4a48c6fa5977, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-03-17T04:02:35.390Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-17T04:02:35.837Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-17T04:02:35.837Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-17T04:02:35.837Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-17T04:02:35.837Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-17T04:02:35.837Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-17T04:02:35.837Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-17T04:02:35.837Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:02:36.313Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T04:02:36.313Z] [2023-03-17T04:02:36.313Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:02:36.674Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T04:02:36.674Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-17T04:02:36.674Z] b85a868b505f: Pulling fs layer [2023-03-17T04:02:36.674Z] e2be974225ed: Pulling fs layer [2023-03-17T04:02:36.674Z] 339a4e72a1f5: Pulling fs layer [2023-03-17T04:02:36.674Z] 988bab9f4d93: Pulling fs layer [2023-03-17T04:02:36.674Z] 1469e6f7b9e6: Pulling fs layer [2023-03-17T04:02:36.674Z] eaf3925da568: Pulling fs layer [2023-03-17T04:02:36.674Z] bab4dde63d76: Pulling fs layer [2023-03-17T04:02:36.674Z] bde34c3a00c8: Pulling fs layer [2023-03-17T04:02:36.674Z] b352a97aabf1: Pulling fs layer [2023-03-17T04:02:36.674Z] 4872d77fe225: Pulling fs layer [2023-03-17T04:02:36.674Z] 5851b861e8e6: Pulling fs layer [2023-03-17T04:02:36.674Z] eaf3925da568: Waiting [2023-03-17T04:02:36.674Z] 988bab9f4d93: Waiting [2023-03-17T04:02:36.674Z] 1469e6f7b9e6: Waiting [2023-03-17T04:02:36.674Z] bde34c3a00c8: Waiting [2023-03-17T04:02:36.674Z] bab4dde63d76: Waiting [2023-03-17T04:02:36.674Z] 4872d77fe225: Waiting [2023-03-17T04:02:36.674Z] b352a97aabf1: Waiting [2023-03-17T04:02:36.674Z] 5851b861e8e6: Waiting [2023-03-17T04:02:36.674Z] e2be974225ed: Download complete [2023-03-17T04:02:36.674Z] 988bab9f4d93: Download complete [2023-03-17T04:02:36.935Z] 1469e6f7b9e6: Verifying Checksum [2023-03-17T04:02:36.935Z] 1469e6f7b9e6: Download complete [2023-03-17T04:02:36.935Z] 339a4e72a1f5: Verifying Checksum [2023-03-17T04:02:36.935Z] 339a4e72a1f5: Download complete [2023-03-17T04:02:36.935Z] eaf3925da568: Download complete [2023-03-17T04:02:36.935Z] bde34c3a00c8: Verifying Checksum [2023-03-17T04:02:36.935Z] b352a97aabf1: Download complete [2023-03-17T04:02:36.935Z] 4872d77fe225: Verifying Checksum [2023-03-17T04:02:36.935Z] 4872d77fe225: Download complete [2023-03-17T04:02:36.935Z] 5851b861e8e6: Verifying Checksum [2023-03-17T04:02:36.935Z] 5851b861e8e6: Download complete [2023-03-17T04:02:36.935Z] b85a868b505f: Verifying Checksum [2023-03-17T04:02:36.935Z] b85a868b505f: Download complete [2023-03-17T04:02:37.194Z] bab4dde63d76: Verifying Checksum [2023-03-17T04:02:37.194Z] bab4dde63d76: Download complete [2023-03-17T04:02:38.137Z] b85a868b505f: Pull complete [2023-03-17T04:02:38.398Z] e2be974225ed: Pull complete [2023-03-17T04:02:38.971Z] 339a4e72a1f5: Pull complete [2023-03-17T04:02:38.971Z] 988bab9f4d93: Pull complete [2023-03-17T04:02:39.229Z] 1469e6f7b9e6: Pull complete [2023-03-17T04:02:39.229Z] eaf3925da568: Pull complete [2023-03-17T04:02:41.135Z] bab4dde63d76: Pull complete [2023-03-17T04:02:41.135Z] bde34c3a00c8: Pull complete [2023-03-17T04:02:41.135Z] b352a97aabf1: Pull complete [2023-03-17T04:02:41.395Z] 4872d77fe225: Pull complete [2023-03-17T04:02:41.395Z] 5851b861e8e6: Pull complete [2023-03-17T04:02:41.395Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-17T04:02:41.395Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-17T04:02:41.395Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:02:41.621Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2023-03-17T04:02:41.655Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-17T04:02:44.074Z] $ docker top 8aaa051f7002a1f65651609c527c91747511627f4da11f8f0fa6c565900f3a2a -eo pid,comm [2023-03-17T04:02:44.130Z] 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). [2023-03-17T04:02:44.130Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-17T04:02:44.254Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T04:02:44.254Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T04:02:44.369Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T04:02:44.376Z] $ docker exec 8aaa051f7002a1f65651609c527c91747511627f4da11f8f0fa6c565900f3a2a ssh-agent [2023-03-17T04:02:44.493Z] SSH_AUTH_SOCK=/tmp/ssh-Q4etIDkpkaCm/agent.32 [2023-03-17T04:02:44.493Z] SSH_AGENT_PID=38 [2023-03-17T04:02:44.500Z] Running ssh-add (command line suppressed) [2023-03-17T04:02:44.614Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_17746635757723510413.key (/w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_17746635757723510413.key) [2023-03-17T04:02:44.627Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T04:02:44.956Z] + git tag --points-at HEAD [Pipeline] } [2023-03-17T04:02:44.982Z] $ docker exec --env ******** --env ******** 8aaa051f7002a1f65651609c527c91747511627f4da11f8f0fa6c565900f3a2a ssh-agent -k [2023-03-17T04:02:45.088Z] unset SSH_AUTH_SOCK; [2023-03-17T04:02:45.088Z] unset SSH_AGENT_PID; [2023-03-17T04:02:45.088Z] echo Agent pid 38 killed; [2023-03-17T04:02:45.097Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-17T04:02:45.181Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-17T04:02:45.181Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-17T04:02:45.297Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-17T04:02:45.302Z] $ docker exec 8aaa051f7002a1f65651609c527c91747511627f4da11f8f0fa6c565900f3a2a ssh-agent [2023-03-17T04:02:45.415Z] SSH_AUTH_SOCK=/tmp/ssh-ry5fKxPDBHHK/agent.70 [2023-03-17T04:02:45.415Z] SSH_AGENT_PID=76 [2023-03-17T04:02:45.420Z] Running ssh-add (command line suppressed) [2023-03-17T04:02:45.536Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_7151567403179733470.key (/w/workspace/undry_device-onvif-camera_PR-275@tmp/private_key_7151567403179733470.key) [2023-03-17T04:02:45.547Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-17T04:02:45.876Z] + git semver init [2023-03-17T04:02:46.137Z] 2023-03-17 04:02:46,084 [run_init] DEBUG init version:0.0.0 force:False [2023-03-17T04:02:46.137Z] 2023-03-17 04:02:46,085 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-275/.semver [2023-03-17T04:02:46.137Z] 2023-03-17 04:02:46,085 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-275/.semver [2023-03-17T04:02:46.137Z] 2023-03-17 04:02:46,085 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-275/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-275, universal_newlines=False, shell=None, istream=None) [2023-03-17T04:02:47.077Z] 2023-03-17 04:02:46,896 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-275/.git/info/exclude [2023-03-17T04:02:47.077Z] 2023-03-17 04:02:46,897 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-275/.semver/PR-275 with force:False [2023-03-17T04:02:47.077Z] 2023-03-17 04:02:46,897 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-275/.semver/PR-275 [2023-03-17T04:02:47.078Z] 2023-03-17 04:02:46,902 [execute] INFO git cat-file --batch-check [2023-03-17T04:02:47.078Z] 2023-03-17 04:02:46,902 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-275/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T04:02:47.078Z] 2023-03-17 04:02:46,908 [execute] INFO git cat-file --batch [2023-03-17T04:02:47.078Z] 2023-03-17 04:02:46,908 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-275/.semver, universal_newlines=False, shell=None, istream=) [2023-03-17T04:02:47.078Z] 2023-03-17 04:02:46,912 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-275/.semver/PR-275 [2023-03-17T04:02:47.078Z] 0.0.0 [Pipeline] } [2023-03-17T04:02:47.108Z] $ docker exec --env ******** --env ******** 8aaa051f7002a1f65651609c527c91747511627f4da11f8f0fa6c565900f3a2a ssh-agent -k [2023-03-17T04:02:47.212Z] unset SSH_AUTH_SOCK; [2023-03-17T04:02:47.212Z] unset SSH_AGENT_PID; [2023-03-17T04:02:47.213Z] echo Agent pid 76 killed; [2023-03-17T04:02:47.221Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-17T04:02:47.651Z] + git semver [Pipeline] } [2023-03-17T04:02:47.937Z] $ docker stop --time=1 8aaa051f7002a1f65651609c527c91747511627f4da11f8f0fa6c565900f3a2a [2023-03-17T04:02:49.247Z] $ docker rm -f --volumes 8aaa051f7002a1f65651609c527c91747511627f4da11f8f0fa6c565900f3a2a [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-17T04:02:49.641Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-17T04:02:49.909Z] Stashed 1 file(s) [Pipeline] echo [2023-03-17T04:02:49.928Z] [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 [2023-03-17T04:02:50.516Z] provisioning config files... [2023-03-17T04:02:50.526Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config16357234096742011303tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:02:50.872Z] ---> docker-login.sh [2023-03-17T04:02:50.872Z] nexus3.edgexfoundry.org:10001 [2023-03-17T04:02:50.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:50.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:50.872Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:50.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:50.872Z] [2023-03-17T04:02:50.872Z] Login Succeeded [2023-03-17T04:02:50.872Z] nexus3.edgexfoundry.org:10002 [2023-03-17T04:02:50.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:50.872Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:50.872Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:50.872Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:50.872Z] [2023-03-17T04:02:50.872Z] Login Succeeded [2023-03-17T04:02:50.872Z] nexus3.edgexfoundry.org:10003 [2023-03-17T04:02:51.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:51.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:51.135Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:51.135Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:51.135Z] [2023-03-17T04:02:51.135Z] Login Succeeded [2023-03-17T04:02:51.135Z] nexus3.edgexfoundry.org:10004 [2023-03-17T04:02:51.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:51.136Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:51.136Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:51.136Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:51.136Z] [2023-03-17T04:02:51.136Z] Login Succeeded [2023-03-17T04:02:51.136Z] docker.io [2023-03-17T04:02:51.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:02:51.394Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:02:51.394Z] Configure a credential helper to remove this warning. See [2023-03-17T04:02:51.394Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:02:51.394Z] [2023-03-17T04:02:51.394Z] Login Succeeded [2023-03-17T04:02:51.394Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T04:02:51.425Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T04:02:51.597Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T04:02:51.631Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T04:02:51.660Z] ========================================================= [2023-03-17T04:02:51.660Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-17T04:02:51.660Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:02:52.121Z] + 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 . [2023-03-17T04:02:52.121Z] Sending build context to Docker daemon 27.9MB [2023-03-17T04:02:52.121Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T04:02:52.121Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T04:02:52.381Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-17T04:02:52.381Z] 63b65145d645: Pulling fs layer [2023-03-17T04:02:52.381Z] a2d21d5440eb: Pulling fs layer [2023-03-17T04:02:52.381Z] 935e6c44a52c: Pulling fs layer [2023-03-17T04:02:52.381Z] 94cc34f8dd06: Pulling fs layer [2023-03-17T04:02:52.381Z] 30dea6a524f1: Pulling fs layer [2023-03-17T04:02:52.381Z] a2aff8979fd8: Pulling fs layer [2023-03-17T04:02:52.381Z] 30dea6a524f1: Waiting [2023-03-17T04:02:52.381Z] 94cc34f8dd06: Waiting [2023-03-17T04:02:52.381Z] 6808be2612f2: Pulling fs layer [2023-03-17T04:02:52.381Z] f25807f1079a: Pulling fs layer [2023-03-17T04:02:52.381Z] a2aff8979fd8: Waiting [2023-03-17T04:02:52.381Z] f25807f1079a: Waiting [2023-03-17T04:02:52.381Z] 6808be2612f2: Waiting [2023-03-17T04:02:52.381Z] a2d21d5440eb: Download complete [2023-03-17T04:02:52.381Z] 94cc34f8dd06: Download complete [2023-03-17T04:02:52.381Z] 30dea6a524f1: Download complete [2023-03-17T04:02:52.381Z] 63b65145d645: Verifying Checksum [2023-03-17T04:02:52.381Z] a2aff8979fd8: Verifying Checksum [2023-03-17T04:02:52.381Z] a2aff8979fd8: Download complete [2023-03-17T04:02:52.646Z] 63b65145d645: Pull complete [2023-03-17T04:02:52.646Z] a2d21d5440eb: Pull complete [2023-03-17T04:02:52.914Z] f25807f1079a: Verifying Checksum [2023-03-17T04:02:52.914Z] f25807f1079a: Download complete [2023-03-17T04:02:53.181Z] 935e6c44a52c: Verifying Checksum [2023-03-17T04:02:53.181Z] 935e6c44a52c: Download complete [2023-03-17T04:02:53.440Z] 6808be2612f2: Download complete [2023-03-17T04:02:56.724Z] 935e6c44a52c: Pull complete [2023-03-17T04:02:56.724Z] 94cc34f8dd06: Pull complete [2023-03-17T04:02:56.724Z] 30dea6a524f1: Pull complete [2023-03-17T04:02:56.724Z] a2aff8979fd8: Pull complete [2023-03-17T04:02:58.641Z] 6808be2612f2: Pull complete [2023-03-17T04:02:59.583Z] f25807f1079a: Pull complete [2023-03-17T04:02:59.583Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-17T04:02:59.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-17T04:02:59.583Z] ---> 3b553350e43f [2023-03-17T04:02:59.583Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T04:03:03.779Z] ---> Running in b33a981471b3 [2023-03-17T04:03:03.779Z] Removing intermediate container b33a981471b3 [2023-03-17T04:03:03.779Z] ---> cfa7f209e6a5 [2023-03-17T04:03:03.779Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T04:03:03.779Z] ---> Running in 8c7b00f04c5b [2023-03-17T04:03:03.779Z] Removing intermediate container 8c7b00f04c5b [2023-03-17T04:03:03.779Z] ---> 9837c30d624f [2023-03-17T04:03:03.779Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T04:03:03.779Z] ---> Running in 58df70dfcc0a [2023-03-17T04:03:03.779Z] Removing intermediate container 58df70dfcc0a [2023-03-17T04:03:03.779Z] ---> 1233bc5a641d [2023-03-17T04:03:03.779Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T04:03:03.779Z] ---> Running in befa7cfbe3a7 [2023-03-17T04:03:04.038Z] Removing intermediate container befa7cfbe3a7 [2023-03-17T04:03:04.038Z] ---> c30bdc65495b [2023-03-17T04:03:04.038Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T04:03:04.038Z] ---> Running in 05c0834fd8ee [2023-03-17T04:03:04.038Z] Removing intermediate container 05c0834fd8ee [2023-03-17T04:03:04.038Z] ---> 0d12238bf5bf [2023-03-17T04:03:04.038Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T04:03:04.038Z] ---> Running in a0f0c428e5c5 [2023-03-17T04:03:04.296Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-17T04:03:04.555Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-17T04:03:04.814Z] OK: 265 MiB in 53 packages [2023-03-17T04:03:05.074Z] Removing intermediate container a0f0c428e5c5 [2023-03-17T04:03:05.074Z] ---> 3ce0697ad515 [2023-03-17T04:03:05.074Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T04:03:05.074Z] ---> Running in 89955f100b56 [2023-03-17T04:03:05.074Z] Removing intermediate container 89955f100b56 [2023-03-17T04:03:05.074Z] ---> e1f27e1f6106 [2023-03-17T04:03:05.074Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T04:03:05.332Z] ---> 755350c2c0e7 [2023-03-17T04:03:05.332Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T04:03:05.332Z] ---> Running in b40ad80eda8a [2023-03-17T04:03:05.335Z] Still waiting to schedule task [2023-03-17T04:03:05.335Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-17T04:03:31.877Z] Removing intermediate container b40ad80eda8a [2023-03-17T04:03:31.877Z] ---> fc4d417556d7 [2023-03-17T04:03:31.877Z] Step 12/13 : COPY . . [2023-03-17T04:03:31.877Z] ---> d38ad3b29800 [2023-03-17T04:03:31.877Z] Step 13/13 : RUN ${MAKE} [2023-03-17T04:03:31.877Z] ---> Running in bd2239fabed8 [2023-03-17T04:03:31.877Z] noop [2023-03-17T04:03:32.445Z] Removing intermediate container bd2239fabed8 [2023-03-17T04:03:32.445Z] ---> ff490fba43ee [2023-03-17T04:03:32.445Z] Successfully built ff490fba43ee [2023-03-17T04:03:32.445Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:03:32.878Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T04:03:32.878Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:03:33.025Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2023-03-17T04:03:33.057Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 ******** ci-base-image-x86_64 cat [2023-03-17T04:03:33.380Z] $ docker top 1409e66c9eb2ffa5a87961fcc76050249cf4f4699ee8f8e196ca78951c27246c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:03:33.766Z] + go version [2023-03-17T04:03:33.766Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-17T04:03:33.798Z] $ docker stop --time=1 1409e66c9eb2ffa5a87961fcc76050249cf4f4699ee8f8e196ca78951c27246c [2023-03-17T04:03:35.098Z] $ docker rm -f --volumes 1409e66c9eb2ffa5a87961fcc76050249cf4f4699ee8f8e196ca78951c27246c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:03:35.775Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-17T04:03:35.775Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:03:35.917Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2023-03-17T04:03:35.949Z] $ 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-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 ******** ci-base-image-x86_64 cat [2023-03-17T04:03:36.298Z] $ docker top c09ac6c0be9e0223faf0743b6adedac29b72da140c073f3a56541f74aa470aed -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:03:36.684Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-275 [Pipeline] fileExists [Pipeline] sh [2023-03-17T04:03:37.034Z] + make test [2023-03-17T04:03:37.034Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T04:03:42.296Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T04:03:52.272Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2023-03-17T04:03:52.272Z] internal/driver/driver.go:89:16: undefined: sdkModel.ProtocolDriver [2023-03-17T04:03:52.272Z] internal/driver/checkstatuses.go:48:62: cannot use endpointRefAddr (variable of type any) as string value in argument to d.macAddressMapper.MatchEndpointRefAddressToMAC: need type assertion [2023-03-17T04:03:52.272Z] internal/driver/checkstatuses.go:117:10: invalid operation: addr + ":" (mismatched types any and string) [2023-03-17T04:03:52.272Z] internal/driver/config.go:78:12: invalid operation: ":" + port (mismatched types string and any) [2023-03-17T04:03:52.272Z] internal/driver/config.go:81:9: cannot use xAddr (variable of type any) as string value in return statement: need type assertion [2023-03-17T04:03:52.272Z] internal/driver/credentials.go:65:34: d.sdkService.GetSecretProvider undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method GetSecretProvider) [2023-03-17T04:03:52.272Z] internal/driver/credentials.go:95:65: cannot use mac (variable of type any) as string value in argument to d.macAddressMapper.TryGetSecretNameForMACAddress: need type assertion [2023-03-17T04:03:52.272Z] internal/driver/custommetadata.go:39:29: cannot use value (variable of type any) as string value in argument to strings.TrimSpace: need type assertion [2023-03-17T04:03:52.272Z] internal/driver/custommetadata.go:87:19: cannot use value (variable of type any) as string value in assignment: need type assertion [2023-03-17T04:03:52.272Z] internal/driver/custommetadata.go:90:9: cannot use response (variable of type map[string]string) as "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties value in return statement [2023-03-17T04:03:52.272Z] internal/driver/custommetadata.go:90:9: too many errors [2023-03-17T04:03:52.272Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T04:03:52.272Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-17T04:03:54.234Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 2.088s coverage: 86.5% of statements [2023-03-17T04:03:54.234Z] FAIL [2023-03-17T04:03:54.234Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T04:03:54.277Z] $ docker stop --time=1 c09ac6c0be9e0223faf0743b6adedac29b72da140c073f3a56541f74aa470aed [2023-03-17T04:03:56.444Z] $ docker rm -f --volumes c09ac6c0be9e0223faf0743b6adedac29b72da140c073f3a56541f74aa470aed [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) Stage "Build" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:03:57.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T04:03:57.600Z] [2023-03-17T04:03:57.600Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:03:57.979Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T04:03:57.979Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-17T04:03:57.979Z] 5eb5b503b376: Pulling fs layer [2023-03-17T04:03:57.979Z] 5c69ac0246d0: Pulling fs layer [2023-03-17T04:03:57.979Z] ec43610c2a17: Pulling fs layer [2023-03-17T04:03:57.979Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-17T04:03:57.979Z] 33b1e0a273af: Pulling fs layer [2023-03-17T04:03:57.979Z] 5d3b04190fa2: Pulling fs layer [2023-03-17T04:03:57.979Z] 2f39f015ded8: Pulling fs layer [2023-03-17T04:03:57.979Z] 3a2ae6a8a46f: Waiting [2023-03-17T04:03:57.979Z] 33b1e0a273af: Waiting [2023-03-17T04:03:57.979Z] 5d3b04190fa2: Waiting [2023-03-17T04:03:57.979Z] 5c69ac0246d0: Verifying Checksum [2023-03-17T04:03:57.979Z] 5c69ac0246d0: Download complete [2023-03-17T04:03:57.979Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-17T04:03:57.979Z] 3a2ae6a8a46f: Download complete [2023-03-17T04:03:58.238Z] 33b1e0a273af: Verifying Checksum [2023-03-17T04:03:58.238Z] 33b1e0a273af: Download complete [2023-03-17T04:03:58.238Z] ec43610c2a17: Verifying Checksum [2023-03-17T04:03:58.238Z] ec43610c2a17: Download complete [2023-03-17T04:03:58.238Z] 5d3b04190fa2: Verifying Checksum [2023-03-17T04:03:58.238Z] 5d3b04190fa2: Download complete [2023-03-17T04:03:58.238Z] 5eb5b503b376: Verifying Checksum [2023-03-17T04:03:58.238Z] 5eb5b503b376: Download complete [2023-03-17T04:03:58.806Z] 2f39f015ded8: Download complete [2023-03-17T04:03:59.372Z] 5eb5b503b376: Pull complete [2023-03-17T04:03:59.372Z] 5c69ac0246d0: Pull complete [2023-03-17T04:03:59.938Z] ec43610c2a17: Pull complete [2023-03-17T04:03:59.938Z] 3a2ae6a8a46f: Pull complete [2023-03-17T04:03:59.938Z] 33b1e0a273af: Pull complete [2023-03-17T04:04:00.196Z] 5d3b04190fa2: Pull complete [2023-03-17T04:04:04.405Z] 2f39f015ded8: Pull complete [2023-03-17T04:04:04.405Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-17T04:04:04.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T04:04:04.405Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:04:04.622Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2023-03-17T04:04:04.652Z] $ 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-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-17T04:04:07.022Z] $ docker top 9eaae694e8582d6ec93e64a527cc01ff0d2ba3a0c782e994f933f1deef90bdc7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:04:07.467Z] ---> job-cost.sh [2023-03-17T04:04:07.467Z] lf-activate-venv: SKIPPING [2023-03-17T04:04:07.467Z] INFO: No Stack... [2023-03-17T04:04:07.727Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T04:04:07.986Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T04:04:08.300Z] + cat+ /w/workspace/undry_device-onvif-camera_PR-275/archives/cost.csv [2023-03-17T04:04:08.300Z] cut -d, -f6 [Pipeline] lock [2023-03-17T04:04:08.338Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-275-1-stack-cost] [2023-03-17T04:04:08.343Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-1-stack-cost] did not exist. Created. [2023-03-17T04:04:08.344Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-275-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T04:04:08.724Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-17T04:04:08.786Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T04:04:08.800Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T04:04:08.877Z] $ docker stop --time=1 9eaae694e8582d6ec93e64a527cc01ff0d2ba3a0c782e994f933f1deef90bdc7 [2023-03-17T04:04:10.032Z] $ docker rm -f --volumes 9eaae694e8582d6ec93e64a527cc01ff0d2ba3a0c782e994f933f1deef90bdc7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T04:04:10.395Z] Failed in branch amd64 [2023-03-17T04:04:40.927Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4336 in /w/workspace/undry_device-onvif-camera_PR-275 [Pipeline] { [Pipeline] ws [2023-03-17T04:04:40.984Z] Running in /w/workspace/device-onvif-camera/1 [Pipeline] { [Pipeline] checkout [2023-03-17T04:04:41.057Z] The recommended git tool is: git [2023-03-17T04:04:46.312Z] using credential edgex-jenkins-ssh [2023-03-17T04:04:46.337Z] Cloning the remote Git repository [2023-03-17T04:04:46.387Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T04:04:46.492Z] > git init /w/workspace/device-onvif-camera/1 # timeout=10 [2023-03-17T04:04:46.645Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T04:04:46.646Z] > git --version # timeout=10 [2023-03-17T04:04:46.667Z] > git --version # 'git version 2.25.1' [2023-03-17T04:04:46.670Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T04:04:46.818Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T04:04:49.956Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T04:04:49.986Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-17T04:04:50.858Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-17T04:04:50.907Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-17T04:04:50.907Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T04:04:50.922Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/275/head:refs/remotes/origin/PR-275 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-17T04:04:51.416Z] Merging remotes/origin/main commit a0fd57abbf79406ca3a821838202456f9ee8499c into PR head commit 08d83a75f754479ea02f3555ad2c4a48c6fa5977 [2023-03-17T04:04:51.918Z] Merge succeeded, producing 08d83a75f754479ea02f3555ad2c4a48c6fa5977 [2023-03-17T04:04:51.919Z] Checking out Revision 08d83a75f754479ea02f3555ad2c4a48c6fa5977 (PR-275) [2023-03-17T04:04:52.799Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-03-17T04:04:51.434Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T04:04:51.501Z] > git checkout -f 08d83a75f754479ea02f3555ad2c4a48c6fa5977 # timeout=10 [2023-03-17T04:04:51.805Z] > git remote # timeout=10 [2023-03-17T04:04:51.828Z] > git config --get remote.origin.url # timeout=10 [2023-03-17T04:04:51.864Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-17T04:04:51.878Z] > git merge a0fd57abbf79406ca3a821838202456f9ee8499c # timeout=10 [2023-03-17T04:04:51.903Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-17T04:04:51.927Z] > git config core.sparsecheckout # timeout=10 [2023-03-17T04:04:51.943Z] > git checkout -f 08d83a75f754479ea02f3555ad2c4a48c6fa5977 # timeout=10 [2023-03-17T04:04:52.851Z] > git --version # timeout=10 [2023-03-17T04:04:52.865Z] > git --version # 'git version 2.25.1' [2023-03-17T04:04:52.886Z] fatal: bad object 66200e8eedfc470904d6b329e562ec5b45423d6a [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-17T04:04:53.971Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-17T04:04:53.971Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-17T04:04:53.971Z] Dload Upload Total Spent Left Speed [2023-03-17T04:04:53.971Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 94451 0 --:--:-- --:--:-- --:--:-- 94451 [Pipeline] sh [2023-03-17T04:04:54.539Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-17T04:04:54.878Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-17T04:04:54.878Z] + sudo tee /etc/docker/daemon.new [2023-03-17T04:04:54.878Z] { [2023-03-17T04:04:54.878Z] "registry-mirrors": [ [2023-03-17T04:04:54.878Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-17T04:04:54.878Z] ], [2023-03-17T04:04:54.878Z] "bip": "10.250.0.254/24", [2023-03-17T04:04:54.878Z] "hosts": [ [2023-03-17T04:04:54.878Z] "tcp://0.0.0.0:5555", [2023-03-17T04:04:54.878Z] "unix:///var/run/docker.sock" [2023-03-17T04:04:54.878Z] ], [2023-03-17T04:04:54.878Z] "mtu": 1458, [2023-03-17T04:04:54.878Z] "selinux-enabled": true, [2023-03-17T04:04:54.878Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-17T04:04:54.878Z] } [Pipeline] sh [2023-03-17T04:04:55.227Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-17T04:04:55.640Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T04:05:14.731Z] provisioning config files... [2023-03-17T04:05:14.757Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/1@tmp/config1584023289967306681tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:05:15.164Z] ---> docker-login.sh [2023-03-17T04:05:15.164Z] nexus3.edgexfoundry.org:10001 [2023-03-17T04:05:15.432Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:05:15.700Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:05:15.700Z] Configure a credential helper to remove this warning. See [2023-03-17T04:05:15.700Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:05:15.700Z] [2023-03-17T04:05:15.700Z] Login Succeeded [2023-03-17T04:05:15.700Z] nexus3.edgexfoundry.org:10002 [2023-03-17T04:05:15.972Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:05:15.972Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:05:15.972Z] Configure a credential helper to remove this warning. See [2023-03-17T04:05:15.972Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:05:15.972Z] [2023-03-17T04:05:15.972Z] Login Succeeded [2023-03-17T04:05:15.972Z] nexus3.edgexfoundry.org:10003 [2023-03-17T04:05:16.244Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:05:16.513Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:05:16.513Z] Configure a credential helper to remove this warning. See [2023-03-17T04:05:16.513Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:05:16.513Z] [2023-03-17T04:05:16.513Z] Login Succeeded [2023-03-17T04:05:16.513Z] nexus3.edgexfoundry.org:10004 [2023-03-17T04:05:16.513Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:05:16.780Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:05:16.780Z] Configure a credential helper to remove this warning. See [2023-03-17T04:05:16.780Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:05:16.780Z] [2023-03-17T04:05:16.780Z] Login Succeeded [2023-03-17T04:05:16.780Z] docker.io [2023-03-17T04:05:17.046Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-17T04:05:17.312Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-17T04:05:17.312Z] Configure a credential helper to remove this warning. See [2023-03-17T04:05:17.312Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-17T04:05:17.312Z] [2023-03-17T04:05:17.312Z] Login Succeeded [2023-03-17T04:05:17.312Z] ---> docker-login.sh ends [Pipeline] } [2023-03-17T04:05:17.340Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-17T04:05:17.674Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T04:05:17.712Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-17T04:05:17.743Z] ========================================================= [2023-03-17T04:05:17.743Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-17T04:05:17.743Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:05:18.231Z] + 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 . [2023-03-17T04:05:18.815Z] Sending build context to Docker daemon 20.63MB [2023-03-17T04:05:18.815Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-17T04:05:18.815Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-17T04:05:18.815Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-17T04:05:18.815Z] af6eaf76a39c: Pulling fs layer [2023-03-17T04:05:18.815Z] 55522c791124: Pulling fs layer [2023-03-17T04:05:18.815Z] ce5c4a1c91eb: Pulling fs layer [2023-03-17T04:05:18.815Z] 169dfbe0d373: Pulling fs layer [2023-03-17T04:05:18.815Z] e1ff8fa3b103: Pulling fs layer [2023-03-17T04:05:18.815Z] 52ebb69f0ebf: Pulling fs layer [2023-03-17T04:05:18.815Z] 5abe8eddf0d5: Pulling fs layer [2023-03-17T04:05:18.815Z] 169dfbe0d373: Waiting [2023-03-17T04:05:18.815Z] 52ebb69f0ebf: Waiting [2023-03-17T04:05:18.815Z] e1ff8fa3b103: Waiting [2023-03-17T04:05:19.084Z] 55522c791124: Verifying Checksum [2023-03-17T04:05:19.084Z] 55522c791124: Download complete [2023-03-17T04:05:19.084Z] 169dfbe0d373: Verifying Checksum [2023-03-17T04:05:19.084Z] 169dfbe0d373: Download complete [2023-03-17T04:05:19.084Z] e1ff8fa3b103: Verifying Checksum [2023-03-17T04:05:19.084Z] e1ff8fa3b103: Download complete [2023-03-17T04:05:19.084Z] af6eaf76a39c: Verifying Checksum [2023-03-17T04:05:19.084Z] af6eaf76a39c: Download complete [2023-03-17T04:05:20.060Z] af6eaf76a39c: Pull complete [2023-03-17T04:05:20.060Z] 5abe8eddf0d5: Verifying Checksum [2023-03-17T04:05:20.060Z] 5abe8eddf0d5: Download complete [2023-03-17T04:05:20.331Z] 55522c791124: Pull complete [2023-03-17T04:05:21.750Z] ce5c4a1c91eb: Verifying Checksum [2023-03-17T04:05:21.750Z] ce5c4a1c91eb: Download complete [2023-03-17T04:05:21.750Z] 52ebb69f0ebf: Verifying Checksum [2023-03-17T04:05:21.750Z] 52ebb69f0ebf: Download complete [2023-03-17T04:05:34.083Z] ce5c4a1c91eb: Pull complete [2023-03-17T04:05:34.083Z] 169dfbe0d373: Pull complete [2023-03-17T04:05:34.083Z] e1ff8fa3b103: Pull complete [2023-03-17T04:05:39.438Z] 52ebb69f0ebf: Pull complete [2023-03-17T04:05:41.390Z] 5abe8eddf0d5: Pull complete [2023-03-17T04:05:41.658Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-17T04:05:41.658Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-17T04:05:41.658Z] ---> 6cb57ee374ae [2023-03-17T04:05:41.658Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-17T04:05:43.623Z] ---> Running in 4f634eb5f7b6 [2023-03-17T04:05:43.623Z] Removing intermediate container 4f634eb5f7b6 [2023-03-17T04:05:43.623Z] ---> 1c1699411955 [2023-03-17T04:05:43.623Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-17T04:05:43.623Z] ---> Running in fd8d6dec5cc0 [2023-03-17T04:05:43.898Z] Removing intermediate container fd8d6dec5cc0 [2023-03-17T04:05:43.898Z] ---> 60c54bc5b3c5 [2023-03-17T04:05:43.898Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-17T04:05:44.174Z] ---> Running in 31ff36acba2c [2023-03-17T04:05:44.444Z] Removing intermediate container 31ff36acba2c [2023-03-17T04:05:44.444Z] ---> 4c4d40835c6b [2023-03-17T04:05:44.444Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-17T04:05:44.444Z] ---> Running in 19dc4cc90466 [2023-03-17T04:05:44.717Z] Removing intermediate container 19dc4cc90466 [2023-03-17T04:05:44.717Z] ---> a98cd5d26190 [2023-03-17T04:05:44.717Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-17T04:05:44.987Z] ---> Running in 70863062be35 [2023-03-17T04:05:45.257Z] Removing intermediate container 70863062be35 [2023-03-17T04:05:45.257Z] ---> 937591be95ad [2023-03-17T04:05:45.257Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-17T04:05:45.257Z] ---> Running in 824b46dc651e [2023-03-17T04:05:46.678Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-17T04:05:46.948Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-17T04:05:47.921Z] OK: 263 MiB in 53 packages [2023-03-17T04:05:48.889Z] Removing intermediate container 824b46dc651e [2023-03-17T04:05:48.890Z] ---> 9dcd290f6adb [2023-03-17T04:05:48.890Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-17T04:05:48.890Z] ---> Running in 1fbe1617a5b8 [2023-03-17T04:05:49.160Z] Removing intermediate container 1fbe1617a5b8 [2023-03-17T04:05:49.160Z] ---> 2469cef0e2bd [2023-03-17T04:05:49.160Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-17T04:05:49.752Z] ---> 6bf3d22848dc [2023-03-17T04:05:49.752Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-17T04:05:49.752Z] ---> Running in e0d136db1a34 [2023-03-17T04:06:57.611Z] Removing intermediate container e0d136db1a34 [2023-03-17T04:06:57.611Z] ---> b59f6058d602 [2023-03-17T04:06:57.611Z] Step 12/13 : COPY . . [2023-03-17T04:06:57.611Z] ---> f017251fe5d2 [2023-03-17T04:06:57.611Z] Step 13/13 : RUN ${MAKE} [2023-03-17T04:06:57.611Z] ---> Running in 9133d8a6631d [2023-03-17T04:06:57.611Z] noop [2023-03-17T04:06:57.611Z] Removing intermediate container 9133d8a6631d [2023-03-17T04:06:57.611Z] ---> 8acc9fe85b6a [2023-03-17T04:06:57.611Z] Successfully built 8acc9fe85b6a [2023-03-17T04:06:57.611Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:06:58.093Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T04:06:58.093Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:06:58.373Z] prd-ubuntu20.04-docker-arm64-4c-16g-4336 does not seem to be running inside a container [2023-03-17T04:06:58.444Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T04:06:59.663Z] $ docker top 0431f2d8ec30974afd2fa670660d42e3d18a71525317d3443784906d3bae13ac -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:07:00.571Z] + go version [2023-03-17T04:07:00.571Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-17T04:07:00.605Z] $ docker stop --time=1 0431f2d8ec30974afd2fa670660d42e3d18a71525317d3443784906d3bae13ac [2023-03-17T04:07:02.256Z] $ docker rm -f --volumes 0431f2d8ec30974afd2fa670660d42e3d18a71525317d3443784906d3bae13ac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:07:03.116Z] + docker inspect -f . ci-base-image-arm64 [2023-03-17T04:07:03.116Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:07:03.374Z] prd-ubuntu20.04-docker-arm64-4c-16g-4336 does not seem to be running inside a container [2023-03-17T04:07:03.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-17T04:07:04.608Z] $ docker top f2492df832fa3b8ebfbef8384add19b117dd0f8ba1ee88d69e5cfe265a50905e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:07:05.155Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/1 [Pipeline] fileExists [Pipeline] sh [2023-03-17T04:07:05.555Z] + make test [2023-03-17T04:07:05.823Z] go test ./... -coverprofile=coverage.out ./... [2023-03-17T04:07:38.061Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-17T04:09:44.781Z] # github.com/edgexfoundry/device-onvif-camera/internal/driver [2023-03-17T04:09:44.781Z] internal/driver/driver.go:89:16: undefined: sdkModel.ProtocolDriver [2023-03-17T04:09:44.781Z] internal/driver/checkstatuses.go:48:62: cannot use endpointRefAddr (variable of type any) as string value in argument to d.macAddressMapper.MatchEndpointRefAddressToMAC: need type assertion [2023-03-17T04:09:44.781Z] internal/driver/checkstatuses.go:117:10: invalid operation: addr + ":" (mismatched types any and string) [2023-03-17T04:09:44.781Z] internal/driver/config.go:78:12: invalid operation: ":" + port (mismatched types string and any) [2023-03-17T04:09:44.781Z] internal/driver/config.go:81:9: cannot use xAddr (variable of type any) as string value in return statement: need type assertion [2023-03-17T04:09:44.781Z] internal/driver/credentials.go:65:34: d.sdkService.GetSecretProvider undefined (type "github.com/edgexfoundry/device-sdk-go/v3/pkg/interfaces".DeviceServiceSDK has no field or method GetSecretProvider) [2023-03-17T04:09:44.781Z] internal/driver/credentials.go:95:65: cannot use mac (variable of type any) as string value in argument to d.macAddressMapper.TryGetSecretNameForMACAddress: need type assertion [2023-03-17T04:09:44.781Z] internal/driver/custommetadata.go:39:29: cannot use value (variable of type any) as string value in argument to strings.TrimSpace: need type assertion [2023-03-17T04:09:44.781Z] internal/driver/custommetadata.go:87:19: cannot use value (variable of type any) as string value in assignment: need type assertion [2023-03-17T04:09:44.781Z] internal/driver/custommetadata.go:90:9: cannot use response (variable of type map[string]string) as "github.com/edgexfoundry/go-mod-core-contracts/v3/models".ProtocolProperties value in return statement [2023-03-17T04:09:44.781Z] internal/driver/custommetadata.go:90:9: too many errors [2023-03-17T04:09:49.041Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-17T04:09:49.041Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-17T04:10:15.733Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 23.862s coverage: 86.5% of statements [2023-03-17T04:10:15.733Z] FAIL [2023-03-17T04:10:15.733Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-17T04:10:15.779Z] $ docker stop --time=1 f2492df832fa3b8ebfbef8384add19b117dd0f8ba1ee88d69e5cfe265a50905e [2023-03-17T04:10:17.577Z] $ docker rm -f --volumes f2492df832fa3b8ebfbef8384add19b117dd0f8ba1ee88d69e5cfe265a50905e [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 [2023-03-17T04:10:19.242Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T04:10:19.242Z] [2023-03-17T04:10:19.242Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:10:19.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T04:10:19.912Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-17T04:10:19.912Z] 8998bd30e6a1: Pulling fs layer [2023-03-17T04:10:19.912Z] 04944245beec: Pulling fs layer [2023-03-17T04:10:19.912Z] 699f458cf7ca: Pulling fs layer [2023-03-17T04:10:19.912Z] 765212b225bb: Pulling fs layer [2023-03-17T04:10:19.912Z] f23df028b6ca: Pulling fs layer [2023-03-17T04:10:19.912Z] d65c8cfc05b1: Pulling fs layer [2023-03-17T04:10:19.912Z] 2437ff75d9bd: Pulling fs layer [2023-03-17T04:10:19.912Z] f23df028b6ca: Waiting [2023-03-17T04:10:19.912Z] d65c8cfc05b1: Waiting [2023-03-17T04:10:19.912Z] 2437ff75d9bd: Waiting [2023-03-17T04:10:19.912Z] 765212b225bb: Waiting [2023-03-17T04:10:19.912Z] 04944245beec: Verifying Checksum [2023-03-17T04:10:19.912Z] 04944245beec: Download complete [2023-03-17T04:10:19.912Z] 765212b225bb: Verifying Checksum [2023-03-17T04:10:19.912Z] 765212b225bb: Download complete [2023-03-17T04:10:19.912Z] f23df028b6ca: Download complete [2023-03-17T04:10:19.912Z] d65c8cfc05b1: Verifying Checksum [2023-03-17T04:10:19.912Z] d65c8cfc05b1: Download complete [2023-03-17T04:10:20.181Z] 699f458cf7ca: Verifying Checksum [2023-03-17T04:10:20.181Z] 699f458cf7ca: Download complete [2023-03-17T04:10:20.450Z] 8998bd30e6a1: Verifying Checksum [2023-03-17T04:10:20.450Z] 8998bd30e6a1: Download complete [2023-03-17T04:10:23.044Z] 2437ff75d9bd: Verifying Checksum [2023-03-17T04:10:23.044Z] 2437ff75d9bd: Download complete [2023-03-17T04:10:24.452Z] 8998bd30e6a1: Pull complete [2023-03-17T04:10:25.047Z] 04944245beec: Pull complete [2023-03-17T04:10:26.454Z] 699f458cf7ca: Pull complete [2023-03-17T04:10:26.454Z] 765212b225bb: Pull complete [2023-03-17T04:10:28.399Z] f23df028b6ca: Pull complete [2023-03-17T04:10:28.666Z] d65c8cfc05b1: Pull complete [2023-03-17T04:10:43.670Z] 2437ff75d9bd: Pull complete [2023-03-17T04:10:43.670Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-17T04:10:43.670Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-17T04:10:43.670Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:10:43.991Z] prd-ubuntu20.04-docker-arm64-4c-16g-4336 does not seem to be running inside a container [2023-03-17T04:10:44.048Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/1 -v /w/workspace/device-onvif-camera/1:/w/workspace/device-onvif-camera/1:rw,z -v /w/workspace/device-onvif-camera/1@tmp:/w/workspace/device-onvif-camera/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-17T04:10:46.940Z] $ docker top 028899375ba84388eef721d15c4fcc9f08019885b6d6950259a2ed2204640c67 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:10:47.843Z] ---> job-cost.sh [2023-03-17T04:10:47.843Z] lf-activate-venv: SKIPPING [2023-03-17T04:10:47.843Z] INFO: No Stack... [2023-03-17T04:10:48.109Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-17T04:10:49.069Z] INFO: Archiving Costs [Pipeline] sh [2023-03-17T04:10:49.525Z] + cat /w/workspace/device-onvif-camera/1/archives/cost.csv [2023-03-17T04:10:49.525Z] + cut -d, -f6 [Pipeline] lock [2023-03-17T04:10:49.594Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-275-1-stack-cost] [2023-03-17T04:10:49.599Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-1-stack-cost] did not exist. Created. [2023-03-17T04:10:49.599Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-275-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-17T04:10:50.021Z] /w/workspace/device-onvif-camera/1@tmp/durable-2c50cb60/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-17T04:10:50.430Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-17T04:10:50.468Z] Warning: overwriting stash ‘stack-cost’ [2023-03-17T04:10:51.062Z] Stashed 1 file(s) [Pipeline] } [2023-03-17T04:10:51.086Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-275-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-17T04:10:51.162Z] $ docker stop --time=1 028899375ba84388eef721d15c4fcc9f08019885b6d6950259a2ed2204640c67 [2023-03-17T04:10:52.706Z] $ docker rm -f --volumes 028899375ba84388eef721d15c4fcc9f08019885b6d6950259a2ed2204640c67 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-17T04:10:53.424Z] 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 [2023-03-17T04:10:55.440Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-275/archives ] [2023-03-17T04:10:55.440Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-275/archives [2023-03-17T04:10:55.440Z] total 16 [2023-03-17T04:10:55.440Z] drwxr-xr-x 3 root root 4096 Mar 17 04:04 . [2023-03-17T04:10:55.440Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 04:04 .. [2023-03-17T04:10:55.440Z] drwxr-xr-x 2 root root 4096 Mar 17 04:04 cost [2023-03-17T04:10:55.440Z] -rw-r--r-- 1 root root 91 Mar 17 04:04 cost.csv [2023-03-17T04:10:55.440Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-275/archives [2023-03-17T04:10:55.440Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-275/archives [2023-03-17T04:10:55.440Z] total 16 [2023-03-17T04:10:55.440Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 17 04:04 . [2023-03-17T04:10:55.440Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 17 04:04 .. [2023-03-17T04:10:55.440Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 17 04:04 cost [2023-03-17T04:10:55.440Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 17 04:04 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:10:55.767Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:10:56.661Z] ---> package-listing.sh [2023-03-17T04:10:56.661Z] ++ facter osfamily [2023-03-17T04:10:56.661Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-17T04:10:56.921Z] + OS_FAMILY=debian [2023-03-17T04:10:56.921Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-275 [2023-03-17T04:10:56.921Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-17T04:10:56.921Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-17T04:10:56.921Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-17T04:10:56.921Z] + PACKAGES=/tmp/packages_start.txt [2023-03-17T04:10:56.921Z] + '[' /w/workspace/undry_device-onvif-camera_PR-275 ']' [2023-03-17T04:10:56.921Z] + PACKAGES=/tmp/packages_end.txt [2023-03-17T04:10:56.921Z] + case "${OS_FAMILY}" in [2023-03-17T04:10:56.921Z] + dpkg -l [2023-03-17T04:10:56.921Z] + grep '^ii' [2023-03-17T04:10:56.921Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-17T04:10:56.921Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-17T04:10:56.921Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-17T04:10:56.921Z] + '[' /w/workspace/undry_device-onvif-camera_PR-275 ']' [2023-03-17T04:10:56.921Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-275/archives/ [2023-03-17T04:10:56.921Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-275/archives/ [Pipeline] echo [2023-03-17T04:10:56.950Z] 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-275/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-17T04:10:57.248Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-17T04:10:57.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-17T04:10:57.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-17T04:10:57.748Z] prd-ubuntu20.04-docker-8c-8g-4334 does not seem to be running inside a container [2023-03-17T04:10:57.773Z] $ 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-275/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-275 -v /w/workspace/undry_device-onvif-camera_PR-275:/w/workspace/undry_device-onvif-camera_PR-275:rw,z -v /w/workspace/undry_device-onvif-camera_PR-275@tmp:/w/workspace/undry_device-onvif-camera_PR-275@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 [2023-03-17T04:10:57.959Z] $ docker top f17802f3c35c988f0b25f48e97aa1edb0111b66673a6bf67f68b50848ee69ad1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-17T04:10:58.339Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-17T04:10:58.644Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-17T04:10:58.951Z] + ls /var/log/sa-host [2023-03-17T04:10:58.951Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-17T04:10:59.156Z] provisioning config files... [2023-03-17T04:10:59.164Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-275@tmp/config6459172289838636167tmp [Pipeline] { [Pipeline] echo [2023-03-17T04:10:59.207Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:10:59.517Z] ---> create-netrc.sh [Pipeline] } [2023-03-17T04:10:59.538Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:10:59.918Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-17T04:10:59.955Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:11:00.261Z] ---> sudo-logs.sh [2023-03-17T04:11:00.261Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-17T04:11:00.344Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:11:00.655Z] ---> job-cost.sh [2023-03-17T04:11:00.655Z] lf-activate-venv: SKIPPING [2023-03-17T04:11:00.655Z] DEBUG: total: 0.2199999988079071 [2023-03-17T04:11:00.655Z] INFO: Retrieving Stack Cost... [2023-03-17T04:11:00.914Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-17T04:11:01.174Z] INFO: Archiving Costs [Pipeline] echo [2023-03-17T04:11:01.206Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-17T04:11:01.510Z] ---> logs-deploy.sh [2023-03-17T04:11:01.510Z] lf-activate-venv: SKIPPING [2023-03-17T04:11:01.510Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-275/1 [2023-03-17T04:11:01.510Z] INFO: archiving workspace using pattern(s): [2023-03-17T04:11:02.447Z] Archives upload complete. [2023-03-17T04:11:02.447Z] INFO: archiving logs to Nexus