Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ebddecf992d4cb814f495f3b075c60cc847d9e43+dcb5ff70d07d89643353ce084bf74e7176a8b088 (cf0fdf5d3a5c52c4b0e3f0abfd280196c85efebb) 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-ssh14692248782999046971.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-ssh4581223010122128464.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-268/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3789449931081901133.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 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-ssh5952645949522779873.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-onvif-camera/branches/PR-268/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh3788376198260099678.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-onvif-camera, publishSwaggerDocs:true, swaggerApiFolders:[doc/openapi/v2]] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-onvif-camera-settings PROJECT: device-onvif-camera USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-onvif-camera DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: true SWAGGER_API_FOLDERS: doc/openapi/v2 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-2527 in /w/workspace/undry_device-onvif-camera_PR-268 [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-268 # 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/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dcb5ff70d07d89643353ce084bf74e7176a8b088 into PR head commit ebddecf992d4cb814f495f3b075c60cc847d9e43 Merge succeeded, producing eb6e3fbd19ef67b3d750367c31660c585510d3ea Checking out Revision eb6e3fbd19ef67b3d750367c31660c585510d3ea (PR-268) > git config core.sparsecheckout # timeout=10 > git checkout -f ebddecf992d4cb814f495f3b075c60cc847d9e43 # 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 dcb5ff70d07d89643353ce084bf74e7176a8b088 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f eb6e3fbd19ef67b3d750367c31660c585510d3ea # timeout=10 Commit message: "Merge commit 'dcb5ff70d07d89643353ce084bf74e7176a8b088' into HEAD" > git rev-list --no-walk ebddecf992d4cb814f495f3b075c60cc847d9e43 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-03-16T22:11:00.761Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-03-16T22:11:00.800Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-03-16T22:11:00.818Z] ========================================================= [2023-03-16T22:11:00.818Z] EdgeX Global Pipelines Version Info [2023-03-16T22:11:00.818Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:11:01.526Z] ------------------- [2023-03-16T22:11:01.526Z] stable info: [2023-03-16T22:11:01.526Z] ------------------- [2023-03-16T22:11:01.526Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-03-16T22:11:01.526Z] Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a [2023-03-16T22:11:01.526Z] Message: update stable to v1.0.245 [2023-03-16T22:11:02.097Z] ------------------- [2023-03-16T22:11:02.097Z] experimental info: [2023-03-16T22:11:02.097Z] ------------------- [2023-03-16T22:11:02.097Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-03-16T22:11:02.097Z] Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce [2023-03-16T22:11:02.097Z] Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-03-16T22:11:02.249Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-onvif-camera-settings [Pipeline] echo [2023-03-16T22:11:02.262Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-onvif-camera [Pipeline] echo [2023-03-16T22:11:02.273Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-03-16T22:11:02.284Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-03-16T22:11:02.295Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-03-16T22:11:02.306Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-03-16T22:11:02.317Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-03-16T22:11:02.329Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-03-16T22:11:02.339Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-03-16T22:11:02.350Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-03-16T22:11:02.359Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-03-16T22:11:02.367Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-onvif-camera [Pipeline] echo [2023-03-16T22:11:02.375Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-03-16T22:11:02.393Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-03-16T22:11:02.408Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T22:11:02.418Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-03-16T22:11:02.429Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T22:11:02.442Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-03-16T22:11:02.459Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-03-16T22:11:02.474Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-03-16T22:11:02.484Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = true [Pipeline] echo [2023-03-16T22:11:02.496Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = doc/openapi/v2 [Pipeline] echo [2023-03-16T22:11:02.509Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-03-16T22:11:02.519Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-03-16T22:11:02.536Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-03-16T22:11:02.553Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-03-16T22:11:02.563Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-03-16T22:11:02.574Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-268 [Pipeline] echo [2023-03-16T22:11:02.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-268 [Pipeline] echo [2023-03-16T22:11:02.605Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-268 [Pipeline] echo [2023-03-16T22:11:02.623Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eb6e3fbd19ef67b3d750367c31660c585510d3ea [Pipeline] echo [2023-03-16T22:11:02.636Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eb6e3fb [Pipeline] echo [2023-03-16T22:11:02.648Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T22:11:02.691Z] provisioning config files... [2023-03-16T22:11:02.703Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-268@tmp/config17486786815830733762tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:11:03.000Z] ---> docker-login.sh [2023-03-16T22:11:03.000Z] nexus3.edgexfoundry.org:10001 [2023-03-16T22:11:03.260Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:03.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:03.831Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:03.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:03.831Z] [2023-03-16T22:11:03.831Z] Login Succeeded [2023-03-16T22:11:03.831Z] nexus3.edgexfoundry.org:10002 [2023-03-16T22:11:03.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:03.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:03.831Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:03.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:03.831Z] [2023-03-16T22:11:03.831Z] Login Succeeded [2023-03-16T22:11:03.831Z] nexus3.edgexfoundry.org:10003 [2023-03-16T22:11:03.831Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:03.831Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:03.831Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:03.831Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:03.831Z] [2023-03-16T22:11:03.831Z] Login Succeeded [2023-03-16T22:11:03.831Z] nexus3.edgexfoundry.org:10004 [2023-03-16T22:11:04.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:04.092Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:04.092Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:04.092Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:04.092Z] [2023-03-16T22:11:04.092Z] Login Succeeded [2023-03-16T22:11:04.092Z] docker.io [2023-03-16T22:11:04.092Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:04.358Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:04.358Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:04.358Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:04.358Z] [2023-03-16T22:11:04.358Z] Login Succeeded [2023-03-16T22:11:04.358Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T22:11:04.370Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-03-16T22:11:04.738Z] + git rev-list -1 --merges eb6e3fbd19ef67b3d750367c31660c585510d3ea~1..eb6e3fbd19ef67b3d750367c31660c585510d3ea [Pipeline] echo [2023-03-16T22:11:04.780Z] -----------> git rev-list -1 --merges eb6e3fbd19ef67b3d750367c31660c585510d3ea~1..eb6e3fbd19ef67b3d750367c31660c585510d3ea eb6e3fbd19ef67b3d750367c31660c585510d3ea [2023-03-16T22:11:04.780Z] eb6e3fbd19ef67b3d750367c31660c585510d3ea [false] [Pipeline] sh [2023-03-16T22:11:05.064Z] + git log --format=format:%s -1 eb6e3fbd19ef67b3d750367c31660c585510d3ea [Pipeline] echo [2023-03-16T22:11:05.077Z] ========================================================= [2023-03-16T22:11:05.077Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-03-16T22:11:05.077Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T22:11:05.397Z] + git log --format=format:%s -1 eb6e3fbd19ef67b3d750367c31660c585510d3ea [Pipeline] echo [2023-03-16T22:11:05.407Z] [semverPrep] GIT_COMMIT: eb6e3fbd19ef67b3d750367c31660c585510d3ea, Commit Message: Merge commit 'dcb5ff70d07d89643353ce084bf74e7176a8b088' into HEAD [Pipeline] echo [2023-03-16T22:11:05.417Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-03-16T22:11:05.748Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-03-16T22:11:05.748Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-03-16T22:11:05.748Z] + [ -e /tmp/ssh_known_hosts ] [2023-03-16T22:11:05.748Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-03-16T22:11:05.748Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-03-16T22:11:05.748Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-03-16T22:11:05.748Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:11:06.098Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T22:11:06.098Z] [2023-03-16T22:11:06.098Z] 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-16T22:11:06.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T22:11:06.400Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-03-16T22:11:06.400Z] b85a868b505f: Pulling fs layer [2023-03-16T22:11:06.400Z] e2be974225ed: Pulling fs layer [2023-03-16T22:11:06.400Z] 339a4e72a1f5: Pulling fs layer [2023-03-16T22:11:06.400Z] 988bab9f4d93: Pulling fs layer [2023-03-16T22:11:06.400Z] 1469e6f7b9e6: Pulling fs layer [2023-03-16T22:11:06.400Z] eaf3925da568: Pulling fs layer [2023-03-16T22:11:06.400Z] bab4dde63d76: Pulling fs layer [2023-03-16T22:11:06.400Z] bde34c3a00c8: Pulling fs layer [2023-03-16T22:11:06.400Z] b352a97aabf1: Pulling fs layer [2023-03-16T22:11:06.400Z] 4872d77fe225: Pulling fs layer [2023-03-16T22:11:06.400Z] 5851b861e8e6: Pulling fs layer [2023-03-16T22:11:06.400Z] 988bab9f4d93: Waiting [2023-03-16T22:11:06.400Z] eaf3925da568: Waiting [2023-03-16T22:11:06.400Z] 1469e6f7b9e6: Waiting [2023-03-16T22:11:06.400Z] bab4dde63d76: Waiting [2023-03-16T22:11:06.400Z] 4872d77fe225: Waiting [2023-03-16T22:11:06.400Z] 5851b861e8e6: Waiting [2023-03-16T22:11:06.400Z] b352a97aabf1: Waiting [2023-03-16T22:11:06.400Z] e2be974225ed: Verifying Checksum [2023-03-16T22:11:06.400Z] e2be974225ed: Download complete [2023-03-16T22:11:06.400Z] 988bab9f4d93: Verifying Checksum [2023-03-16T22:11:06.400Z] 988bab9f4d93: Download complete [2023-03-16T22:11:06.660Z] 1469e6f7b9e6: Verifying Checksum [2023-03-16T22:11:06.660Z] 1469e6f7b9e6: Download complete [2023-03-16T22:11:06.660Z] 339a4e72a1f5: Verifying Checksum [2023-03-16T22:11:06.660Z] 339a4e72a1f5: Download complete [2023-03-16T22:11:06.660Z] eaf3925da568: Verifying Checksum [2023-03-16T22:11:06.660Z] eaf3925da568: Download complete [2023-03-16T22:11:06.660Z] bde34c3a00c8: Verifying Checksum [2023-03-16T22:11:06.660Z] bde34c3a00c8: Download complete [2023-03-16T22:11:06.660Z] b352a97aabf1: Download complete [2023-03-16T22:11:06.660Z] 4872d77fe225: Download complete [2023-03-16T22:11:06.660Z] b85a868b505f: Verifying Checksum [2023-03-16T22:11:06.660Z] b85a868b505f: Download complete [2023-03-16T22:11:06.660Z] 5851b861e8e6: Verifying Checksum [2023-03-16T22:11:06.660Z] 5851b861e8e6: Download complete [2023-03-16T22:11:06.919Z] bab4dde63d76: Verifying Checksum [2023-03-16T22:11:06.919Z] bab4dde63d76: Download complete [2023-03-16T22:11:07.857Z] b85a868b505f: Pull complete [2023-03-16T22:11:08.115Z] e2be974225ed: Pull complete [2023-03-16T22:11:08.703Z] 339a4e72a1f5: Pull complete [2023-03-16T22:11:08.703Z] 988bab9f4d93: Pull complete [2023-03-16T22:11:08.963Z] 1469e6f7b9e6: Pull complete [2023-03-16T22:11:08.963Z] eaf3925da568: Pull complete [2023-03-16T22:11:10.874Z] bab4dde63d76: Pull complete [2023-03-16T22:11:10.874Z] bde34c3a00c8: Pull complete [2023-03-16T22:11:10.874Z] b352a97aabf1: Pull complete [2023-03-16T22:11:11.134Z] 4872d77fe225: Pull complete [2023-03-16T22:11:11.134Z] 5851b861e8e6: Pull complete [2023-03-16T22:11:11.134Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-03-16T22:11:11.134Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-03-16T22:11:11.134Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:11:11.233Z] prd-ubuntu20.04-docker-8c-8g-2527 does not seem to be running inside a container [2023-03-16T22:11:11.318Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/undry_device-onvif-camera_PR-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-03-16T22:11:12.574Z] $ docker top d26a3837057b6d2d3ffad6a5480b77d31eb237a3c9d9a9f87b2c5470798818d5 -eo pid,comm [2023-03-16T22:11:12.626Z] 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-16T22:11:12.626Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-03-16T22:11:12.655Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T22:11:12.655Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T22:11:12.773Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T22:11:12.779Z] $ docker exec d26a3837057b6d2d3ffad6a5480b77d31eb237a3c9d9a9f87b2c5470798818d5 ssh-agent [2023-03-16T22:11:12.885Z] SSH_AUTH_SOCK=/tmp/ssh-hfEeTo0vsMoM/agent.32 [2023-03-16T22:11:12.885Z] SSH_AGENT_PID=38 [2023-03-16T22:11:12.892Z] Running ssh-add (command line suppressed) [2023-03-16T22:11:13.003Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-268@tmp/private_key_8511680915858916708.key (/w/workspace/undry_device-onvif-camera_PR-268@tmp/private_key_8511680915858916708.key) [2023-03-16T22:11:13.013Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T22:11:13.301Z] + git tag --points-at HEAD [Pipeline] } [2023-03-16T22:11:13.321Z] $ docker exec --env ******** --env ******** d26a3837057b6d2d3ffad6a5480b77d31eb237a3c9d9a9f87b2c5470798818d5 ssh-agent -k [2023-03-16T22:11:13.426Z] unset SSH_AUTH_SOCK; [2023-03-16T22:11:13.427Z] unset SSH_AGENT_PID; [2023-03-16T22:11:13.427Z] echo Agent pid 38 killed; [2023-03-16T22:11:13.432Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-03-16T22:11:13.456Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-03-16T22:11:13.456Z] [ssh-agent] Looking for ssh-agent implementation... [2023-03-16T22:11:13.559Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-03-16T22:11:13.565Z] $ docker exec d26a3837057b6d2d3ffad6a5480b77d31eb237a3c9d9a9f87b2c5470798818d5 ssh-agent [2023-03-16T22:11:13.668Z] SSH_AUTH_SOCK=/tmp/ssh-kePeRf4w2Mln/agent.70 [2023-03-16T22:11:13.668Z] SSH_AGENT_PID=76 [2023-03-16T22:11:13.674Z] Running ssh-add (command line suppressed) [2023-03-16T22:11:13.790Z] Identity added: /w/workspace/undry_device-onvif-camera_PR-268@tmp/private_key_11380365901552063918.key (/w/workspace/undry_device-onvif-camera_PR-268@tmp/private_key_11380365901552063918.key) [2023-03-16T22:11:13.801Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-03-16T22:11:14.103Z] + git semver init [2023-03-16T22:11:14.363Z] 2023-03-16 22:11:14,279 [run_init] DEBUG init version:0.0.0 force:False [2023-03-16T22:11:14.363Z] 2023-03-16 22:11:14,279 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/undry_device-onvif-camera_PR-268/.semver [2023-03-16T22:11:14.363Z] 2023-03-16 22:11:14,280 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-onvif-camera.git /w/workspace/undry_device-onvif-camera_PR-268/.semver [2023-03-16T22:11:14.363Z] 2023-03-16 22:11:14,280 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-onvif-camera.git', '/w/workspace/undry_device-onvif-camera_PR-268/.semver'], cwd=/w/workspace/undry_device-onvif-camera_PR-268, universal_newlines=False, shell=None, istream=None) [2023-03-16T22:11:15.298Z] 2023-03-16 22:11:15,244 [append_file] DEBUG append to file:/w/workspace/undry_device-onvif-camera_PR-268/.git/info/exclude [2023-03-16T22:11:15.298Z] 2023-03-16 22:11:15,244 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/undry_device-onvif-camera_PR-268/.semver/PR-268 with force:False [2023-03-16T22:11:15.298Z] 2023-03-16 22:11:15,244 [write_file] DEBUG write to file:/w/workspace/undry_device-onvif-camera_PR-268/.semver/PR-268 [2023-03-16T22:11:15.298Z] 2023-03-16 22:11:15,249 [execute] INFO git cat-file --batch-check [2023-03-16T22:11:15.298Z] 2023-03-16 22:11:15,249 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/undry_device-onvif-camera_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T22:11:15.298Z] 2023-03-16 22:11:15,255 [execute] INFO git cat-file --batch [2023-03-16T22:11:15.298Z] 2023-03-16 22:11:15,255 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/undry_device-onvif-camera_PR-268/.semver, universal_newlines=False, shell=None, istream=) [2023-03-16T22:11:15.298Z] 2023-03-16 22:11:15,259 [read_version] DEBUG read version from /w/workspace/undry_device-onvif-camera_PR-268/.semver/PR-268 [2023-03-16T22:11:15.298Z] 0.0.0 [Pipeline] } [2023-03-16T22:11:15.310Z] $ docker exec --env ******** --env ******** d26a3837057b6d2d3ffad6a5480b77d31eb237a3c9d9a9f87b2c5470798818d5 ssh-agent -k [2023-03-16T22:11:15.413Z] unset SSH_AUTH_SOCK; [2023-03-16T22:11:15.414Z] unset SSH_AGENT_PID; [2023-03-16T22:11:15.414Z] echo Agent pid 76 killed; [2023-03-16T22:11:15.421Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-03-16T22:11:15.718Z] + git semver [Pipeline] } [2023-03-16T22:11:15.991Z] $ docker stop --time=1 d26a3837057b6d2d3ffad6a5480b77d31eb237a3c9d9a9f87b2c5470798818d5 [2023-03-16T22:11:17.272Z] $ docker rm -f --volumes d26a3837057b6d2d3ffad6a5480b77d31eb237a3c9d9a9f87b2c5470798818d5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-03-16T22:11:17.598Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-03-16T22:11:17.791Z] Stashed 1 file(s) [Pipeline] echo [2023-03-16T22:11:17.793Z] [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-16T22:11:17.926Z] provisioning config files... [2023-03-16T22:11:17.938Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/undry_device-onvif-camera_PR-268@tmp/config11995311509411383930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:11:18.233Z] ---> docker-login.sh [2023-03-16T22:11:18.233Z] nexus3.edgexfoundry.org:10001 [2023-03-16T22:11:18.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:18.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:18.233Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:18.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:18.233Z] [2023-03-16T22:11:18.233Z] Login Succeeded [2023-03-16T22:11:18.233Z] nexus3.edgexfoundry.org:10002 [2023-03-16T22:11:18.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:18.233Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:18.233Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:18.233Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:18.233Z] [2023-03-16T22:11:18.233Z] Login Succeeded [2023-03-16T22:11:18.233Z] nexus3.edgexfoundry.org:10003 [2023-03-16T22:11:18.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:18.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:18.492Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:18.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:18.492Z] [2023-03-16T22:11:18.492Z] Login Succeeded [2023-03-16T22:11:18.492Z] nexus3.edgexfoundry.org:10004 [2023-03-16T22:11:18.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:18.492Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:18.492Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:18.492Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:18.492Z] [2023-03-16T22:11:18.492Z] Login Succeeded [2023-03-16T22:11:18.492Z] docker.io [2023-03-16T22:11:18.492Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:11:18.761Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:11:18.761Z] Configure a credential helper to remove this warning. See [2023-03-16T22:11:18.761Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:11:18.761Z] [2023-03-16T22:11:18.761Z] Login Succeeded [2023-03-16T22:11:18.761Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T22:11:18.770Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T22:11:18.817Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T22:11:18.830Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T22:11:18.839Z] ========================================================= [2023-03-16T22:11:18.839Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-03-16T22:11:18.839Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:11:19.155Z] + 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-16T22:11:19.155Z] Sending build context to Docker daemon 27.87MB [2023-03-16T22:11:19.155Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T22:11:19.155Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T22:11:19.416Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-03-16T22:11:19.416Z] 63b65145d645: Pulling fs layer [2023-03-16T22:11:19.416Z] a2d21d5440eb: Pulling fs layer [2023-03-16T22:11:19.416Z] 935e6c44a52c: Pulling fs layer [2023-03-16T22:11:19.416Z] 94cc34f8dd06: Pulling fs layer [2023-03-16T22:11:19.416Z] 30dea6a524f1: Pulling fs layer [2023-03-16T22:11:19.416Z] a2aff8979fd8: Pulling fs layer [2023-03-16T22:11:19.416Z] 6808be2612f2: Pulling fs layer [2023-03-16T22:11:19.416Z] f25807f1079a: Pulling fs layer [2023-03-16T22:11:19.416Z] a2aff8979fd8: Waiting [2023-03-16T22:11:19.416Z] 6808be2612f2: Waiting [2023-03-16T22:11:19.416Z] f25807f1079a: Waiting [2023-03-16T22:11:19.416Z] 94cc34f8dd06: Waiting [2023-03-16T22:11:19.416Z] 30dea6a524f1: Waiting [2023-03-16T22:11:19.416Z] a2d21d5440eb: Verifying Checksum [2023-03-16T22:11:19.416Z] a2d21d5440eb: Download complete [2023-03-16T22:11:19.416Z] 94cc34f8dd06: Verifying Checksum [2023-03-16T22:11:19.416Z] 94cc34f8dd06: Download complete [2023-03-16T22:11:19.416Z] 30dea6a524f1: Download complete [2023-03-16T22:11:19.416Z] 63b65145d645: Verifying Checksum [2023-03-16T22:11:19.416Z] 63b65145d645: Download complete [2023-03-16T22:11:19.416Z] a2aff8979fd8: Verifying Checksum [2023-03-16T22:11:19.416Z] a2aff8979fd8: Download complete [2023-03-16T22:11:19.680Z] 63b65145d645: Pull complete [2023-03-16T22:11:19.680Z] a2d21d5440eb: Pull complete [2023-03-16T22:11:19.953Z] f25807f1079a: Verifying Checksum [2023-03-16T22:11:19.953Z] f25807f1079a: Download complete [2023-03-16T22:11:20.214Z] 935e6c44a52c: Verifying Checksum [2023-03-16T22:11:20.214Z] 935e6c44a52c: Download complete [2023-03-16T22:11:20.472Z] 6808be2612f2: Verifying Checksum [2023-03-16T22:11:20.472Z] 6808be2612f2: Download complete [2023-03-16T22:11:23.749Z] 935e6c44a52c: Pull complete [2023-03-16T22:11:23.749Z] 94cc34f8dd06: Pull complete [2023-03-16T22:11:23.749Z] 30dea6a524f1: Pull complete [2023-03-16T22:11:23.749Z] a2aff8979fd8: Pull complete [2023-03-16T22:11:26.274Z] 6808be2612f2: Pull complete [2023-03-16T22:11:27.208Z] f25807f1079a: Pull complete [2023-03-16T22:11:27.208Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-03-16T22:11:27.208Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-03-16T22:11:27.208Z] ---> 3b553350e43f [2023-03-16T22:11:27.208Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T22:11:29.111Z] ---> Running in f1301dce98e2 [2023-03-16T22:11:29.111Z] Removing intermediate container f1301dce98e2 [2023-03-16T22:11:29.111Z] ---> a3138037cbaf [2023-03-16T22:11:29.111Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T22:11:29.111Z] ---> Running in 110be1cfff13 [2023-03-16T22:11:29.111Z] Removing intermediate container 110be1cfff13 [2023-03-16T22:11:29.111Z] ---> 673f7156c013 [2023-03-16T22:11:29.111Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T22:11:29.111Z] ---> Running in ccbcfc33eb91 [2023-03-16T22:11:29.369Z] Removing intermediate container ccbcfc33eb91 [2023-03-16T22:11:29.369Z] ---> 778d81fb994f [2023-03-16T22:11:29.369Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T22:11:29.369Z] ---> Running in c437b3e45af2 [2023-03-16T22:11:29.369Z] Removing intermediate container c437b3e45af2 [2023-03-16T22:11:29.369Z] ---> 6e31df78afa9 [2023-03-16T22:11:29.369Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T22:11:29.369Z] ---> Running in 1fd82f4489a0 [2023-03-16T22:11:29.630Z] Removing intermediate container 1fd82f4489a0 [2023-03-16T22:11:29.630Z] ---> 59ca593b0104 [2023-03-16T22:11:29.630Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T22:11:29.630Z] ---> Running in 3a2a5af87862 [2023-03-16T22:11:29.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-03-16T22:11:29.889Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-03-16T22:11:30.147Z] OK: 265 MiB in 53 packages [2023-03-16T22:11:30.406Z] Removing intermediate container 3a2a5af87862 [2023-03-16T22:11:30.406Z] ---> 72e2bb1e3a9a [2023-03-16T22:11:30.406Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T22:11:30.406Z] ---> Running in 7765ddf508fc [2023-03-16T22:11:30.406Z] Removing intermediate container 7765ddf508fc [2023-03-16T22:11:30.406Z] ---> 205da59fbe27 [2023-03-16T22:11:30.406Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T22:11:30.663Z] ---> a0d2655bcde2 [2023-03-16T22:11:30.663Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T22:11:30.663Z] ---> Running in f6b4c48cdf76 [2023-03-16T22:11:32.872Z] Still waiting to schedule task [2023-03-16T22:11:32.872Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-03-16T22:11:52.620Z] Removing intermediate container f6b4c48cdf76 [2023-03-16T22:11:52.620Z] ---> afc90d41b62e [2023-03-16T22:11:52.620Z] Step 12/13 : COPY . . [2023-03-16T22:11:53.187Z] ---> 952731fbe47a [2023-03-16T22:11:53.187Z] Step 13/13 : RUN ${MAKE} [2023-03-16T22:11:53.187Z] ---> Running in 977e5f137029 [2023-03-16T22:11:53.445Z] noop [2023-03-16T22:11:53.703Z] Removing intermediate container 977e5f137029 [2023-03-16T22:11:53.703Z] ---> 5ac28e36581b [2023-03-16T22:11:53.703Z] Successfully built 5ac28e36581b [2023-03-16T22:11:53.703Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:11:54.006Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T22:11:54.006Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:11:54.071Z] prd-ubuntu20.04-docker-8c-8g-2527 does not seem to be running inside a container [2023-03-16T22:11:54.098Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/undry_device-onvif-camera_PR-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T22:11:54.443Z] $ docker top a266ba6380d03486c77fcbb2549c9c3bb9c6b8418fd60a97961470bf0ab88255 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:11:54.776Z] + go version [2023-03-16T22:11:54.776Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-03-16T22:11:54.788Z] $ docker stop --time=1 a266ba6380d03486c77fcbb2549c9c3bb9c6b8418fd60a97961470bf0ab88255 [2023-03-16T22:11:56.056Z] $ docker rm -f --volumes a266ba6380d03486c77fcbb2549c9c3bb9c6b8418fd60a97961470bf0ab88255 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:11:56.455Z] + docker inspect -f . ci-base-image-x86_64 [2023-03-16T22:11:56.456Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:11:56.521Z] prd-ubuntu20.04-docker-8c-8g-2527 does not seem to be running inside a container [2023-03-16T22:11:56.552Z] $ 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-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-03-16T22:11:56.902Z] $ docker top 318e5c7b04703558ae7672daf99d46843bea8aa647839d7158edc6edd09c7a0a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:11:57.240Z] + git config --global --add safe.directory /w/workspace/undry_device-onvif-camera_PR-268 [Pipeline] fileExists [Pipeline] sh [2023-03-16T22:11:57.533Z] + make test [2023-03-16T22:11:57.533Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T22:12:02.806Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T22:12:12.791Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-16T22:12:12.791Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-16T22:12:13.049Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T22:12:13.049Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-16T22:12:18.324Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 4.607s coverage: 86.5% of statements [2023-03-16T22:12:18.324Z] FAIL [2023-03-16T22:12:18.324Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-16T22:12:18.342Z] $ docker stop --time=1 318e5c7b04703558ae7672daf99d46843bea8aa647839d7158edc6edd09c7a0a [2023-03-16T22:12:20.486Z] $ docker rm -f --volumes 318e5c7b04703558ae7672daf99d46843bea8aa647839d7158edc6edd09c7a0a [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-16T22:12:20.996Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T22:12:20.996Z] [2023-03-16T22:12:20.996Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:12:21.294Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T22:12:21.294Z] latest: Pulling from edgex-lftools-log-publisher [2023-03-16T22:12:21.294Z] 5eb5b503b376: Pulling fs layer [2023-03-16T22:12:21.294Z] 5c69ac0246d0: Pulling fs layer [2023-03-16T22:12:21.294Z] ec43610c2a17: Pulling fs layer [2023-03-16T22:12:21.294Z] 3a2ae6a8a46f: Pulling fs layer [2023-03-16T22:12:21.294Z] 33b1e0a273af: Pulling fs layer [2023-03-16T22:12:21.294Z] 5d3b04190fa2: Pulling fs layer [2023-03-16T22:12:21.294Z] 2f39f015ded8: Pulling fs layer [2023-03-16T22:12:21.294Z] 2f39f015ded8: Waiting [2023-03-16T22:12:21.294Z] 33b1e0a273af: Waiting [2023-03-16T22:12:21.294Z] 5d3b04190fa2: Waiting [2023-03-16T22:12:21.294Z] 3a2ae6a8a46f: Waiting [2023-03-16T22:12:21.294Z] 5c69ac0246d0: Download complete [2023-03-16T22:12:21.294Z] 3a2ae6a8a46f: Verifying Checksum [2023-03-16T22:12:21.294Z] 3a2ae6a8a46f: Download complete [2023-03-16T22:12:21.553Z] 33b1e0a273af: Verifying Checksum [2023-03-16T22:12:21.553Z] 33b1e0a273af: Download complete [2023-03-16T22:12:21.553Z] 5d3b04190fa2: Download complete [2023-03-16T22:12:21.553Z] ec43610c2a17: Verifying Checksum [2023-03-16T22:12:21.553Z] ec43610c2a17: Download complete [2023-03-16T22:12:21.811Z] 5eb5b503b376: Verifying Checksum [2023-03-16T22:12:21.811Z] 5eb5b503b376: Download complete [2023-03-16T22:12:22.376Z] 2f39f015ded8: Download complete [2023-03-16T22:12:22.942Z] 5eb5b503b376: Pull complete [2023-03-16T22:12:22.942Z] 5c69ac0246d0: Pull complete [2023-03-16T22:12:23.507Z] ec43610c2a17: Pull complete [2023-03-16T22:12:23.507Z] 3a2ae6a8a46f: Pull complete [2023-03-16T22:12:23.765Z] 33b1e0a273af: Pull complete [2023-03-16T22:12:23.765Z] 5d3b04190fa2: Pull complete [2023-03-16T22:12:29.038Z] 2f39f015ded8: Pull complete [2023-03-16T22:12:29.038Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-03-16T22:12:29.038Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T22:12:29.038Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:12:29.135Z] prd-ubuntu20.04-docker-8c-8g-2527 does not seem to be running inside a container [2023-03-16T22:12:29.167Z] $ 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-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T22:12:31.236Z] $ docker top a3225b1e1b9302176fa6fea601d733c23b8849716a33c21e230879dcba19b5a2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:12:31.624Z] ---> job-cost.sh [2023-03-16T22:12:31.624Z] lf-activate-venv: SKIPPING [2023-03-16T22:12:31.624Z] INFO: No Stack... [2023-03-16T22:12:31.883Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T22:12:32.142Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T22:12:32.434Z] + cat /w/workspace/undry_device-onvif-camera_PR-268/archives/cost.csv [2023-03-16T22:12:32.434Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T22:12:32.447Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-268-2-stack-cost] [2023-03-16T22:12:32.454Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-268-2-stack-cost] did not exist. Created. [2023-03-16T22:12:32.454Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-268-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T22:12:32.751Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-03-16T22:12:32.792Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T22:12:32.797Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-268-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T22:12:32.813Z] $ docker stop --time=1 a3225b1e1b9302176fa6fea601d733c23b8849716a33c21e230879dcba19b5a2 [2023-03-16T22:12:33.979Z] $ docker rm -f --volumes a3225b1e1b9302176fa6fea601d733c23b8849716a33c21e230879dcba19b5a2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T22:12:34.086Z] Failed in branch amd64 [2023-03-16T22:13:58.143Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2534 in /w/workspace/undry_device-onvif-camera_PR-268 [Pipeline] { [Pipeline] ws [2023-03-16T22:13:58.156Z] Running in /w/workspace/device-onvif-camera/2 [Pipeline] { [Pipeline] checkout [2023-03-16T22:13:58.192Z] The recommended git tool is: git [2023-03-16T22:14:04.657Z] using credential edgex-jenkins-ssh [2023-03-16T22:14:04.678Z] Cloning the remote Git repository [2023-03-16T22:14:04.734Z] Cloning repository git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T22:14:04.854Z] > git init /w/workspace/device-onvif-camera/2 # timeout=10 [2023-03-16T22:14:05.042Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T22:14:05.043Z] > git --version # timeout=10 [2023-03-16T22:14:05.066Z] > git --version # 'git version 2.25.1' [2023-03-16T22:14:05.069Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T22:14:05.248Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T22:14:06.739Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T22:14:06.763Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-03-16T22:14:07.937Z] > git config remote.origin.url git@github.com:edgexfoundry/device-onvif-camera.git # timeout=10 [2023-03-16T22:14:07.989Z] Fetching upstream changes from git@github.com:edgexfoundry/device-onvif-camera.git [2023-03-16T22:14:07.991Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T22:14:08.012Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-onvif-camera.git +refs/pull/268/head:refs/remotes/origin/PR-268 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-03-16T22:14:08.608Z] Merging remotes/origin/main commit dcb5ff70d07d89643353ce084bf74e7176a8b088 into PR head commit ebddecf992d4cb814f495f3b075c60cc847d9e43 [2023-03-16T22:14:09.276Z] Merge succeeded, producing b0861e55ba19cdb64b8cbfc4195448c743c8d020 [2023-03-16T22:14:09.277Z] Checking out Revision b0861e55ba19cdb64b8cbfc4195448c743c8d020 (PR-268) [2023-03-16T22:14:08.632Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T22:14:08.726Z] > git checkout -f ebddecf992d4cb814f495f3b075c60cc847d9e43 # timeout=10 [2023-03-16T22:14:09.095Z] > git remote # timeout=10 [2023-03-16T22:14:09.130Z] > git config --get remote.origin.url # timeout=10 [2023-03-16T22:14:09.161Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-03-16T22:14:09.179Z] > git merge dcb5ff70d07d89643353ce084bf74e7176a8b088 # timeout=10 [2023-03-16T22:14:09.251Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-03-16T22:14:09.283Z] > git config core.sparsecheckout # timeout=10 [2023-03-16T22:14:09.301Z] > git checkout -f b0861e55ba19cdb64b8cbfc4195448c743c8d020 # timeout=10 [2023-03-16T22:14:12.973Z] Commit message: "Merge commit 'dcb5ff70d07d89643353ce084bf74e7176a8b088' into HEAD" [2023-03-16T22:14:12.981Z] > git rev-list --no-walk ebddecf992d4cb814f495f3b075c60cc847d9e43 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-03-16T22:14:13.992Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-03-16T22:14:13.992Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-03-16T22:14:13.992Z] Dload Upload Total Spent Left Speed [2023-03-16T22:14:13.992Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 168k 0 --:--:-- --:--:-- --:--:-- 170k [Pipeline] sh [2023-03-16T22:14:14.742Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-03-16T22:14:15.109Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-03-16T22:14:15.109Z] + sudo tee /etc/docker/daemon.new [2023-03-16T22:14:15.109Z] { [2023-03-16T22:14:15.109Z] "registry-mirrors": [ [2023-03-16T22:14:15.109Z] "https://nexus3.edgexfoundry.org:10001" [2023-03-16T22:14:15.109Z] ], [2023-03-16T22:14:15.109Z] "bip": "10.250.0.254/24", [2023-03-16T22:14:15.109Z] "hosts": [ [2023-03-16T22:14:15.109Z] "tcp://0.0.0.0:5555", [2023-03-16T22:14:15.109Z] "unix:///var/run/docker.sock" [2023-03-16T22:14:15.109Z] ], [2023-03-16T22:14:15.109Z] "mtu": 1458, [2023-03-16T22:14:15.109Z] "selinux-enabled": true, [2023-03-16T22:14:15.109Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-03-16T22:14:15.109Z] } [Pipeline] sh [2023-03-16T22:14:15.464Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-03-16T22:14:15.826Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T22:14:34.164Z] provisioning config files... [2023-03-16T22:14:34.193Z] copy managed file [device-onvif-camera-settings] to file:/w/workspace/device-onvif-camera/2@tmp/config12132940066677062402tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:14:34.565Z] ---> docker-login.sh [2023-03-16T22:14:34.565Z] nexus3.edgexfoundry.org:10001 [2023-03-16T22:14:35.162Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:14:35.434Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:14:35.434Z] Configure a credential helper to remove this warning. See [2023-03-16T22:14:35.434Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:14:35.434Z] [2023-03-16T22:14:35.434Z] Login Succeeded [2023-03-16T22:14:35.434Z] nexus3.edgexfoundry.org:10002 [2023-03-16T22:14:35.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:14:35.704Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:14:35.704Z] Configure a credential helper to remove this warning. See [2023-03-16T22:14:35.704Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:14:35.704Z] [2023-03-16T22:14:35.704Z] Login Succeeded [2023-03-16T22:14:35.704Z] nexus3.edgexfoundry.org:10003 [2023-03-16T22:14:35.982Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:14:35.982Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:14:35.982Z] Configure a credential helper to remove this warning. See [2023-03-16T22:14:35.982Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:14:35.982Z] [2023-03-16T22:14:35.982Z] Login Succeeded [2023-03-16T22:14:35.982Z] nexus3.edgexfoundry.org:10004 [2023-03-16T22:14:36.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:14:36.541Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:14:36.541Z] Configure a credential helper to remove this warning. See [2023-03-16T22:14:36.541Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:14:36.541Z] [2023-03-16T22:14:36.541Z] Login Succeeded [2023-03-16T22:14:36.541Z] docker.io [2023-03-16T22:14:36.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-03-16T22:14:37.089Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-03-16T22:14:37.089Z] Configure a credential helper to remove this warning. See [2023-03-16T22:14:37.089Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-03-16T22:14:37.089Z] [2023-03-16T22:14:37.089Z] Login Succeeded [2023-03-16T22:14:37.089Z] ---> docker-login.sh ends [Pipeline] } [2023-03-16T22:14:37.108Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-03-16T22:14:37.449Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T22:14:37.466Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-03-16T22:14:37.483Z] ========================================================= [2023-03-16T22:14:37.483Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-03-16T22:14:37.483Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:14:37.849Z] + 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-16T22:14:38.450Z] Sending build context to Docker daemon 20.63MB [2023-03-16T22:14:38.450Z] Step 1/13 : ARG BASE=golang:1.20-alpine3.17 [2023-03-16T22:14:38.450Z] Step 2/13 : FROM ${BASE} AS builder [2023-03-16T22:14:38.732Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-03-16T22:14:38.732Z] af6eaf76a39c: Pulling fs layer [2023-03-16T22:14:38.732Z] 55522c791124: Pulling fs layer [2023-03-16T22:14:38.732Z] ce5c4a1c91eb: Pulling fs layer [2023-03-16T22:14:38.732Z] 169dfbe0d373: Pulling fs layer [2023-03-16T22:14:38.732Z] e1ff8fa3b103: Pulling fs layer [2023-03-16T22:14:38.732Z] 52ebb69f0ebf: Pulling fs layer [2023-03-16T22:14:38.732Z] 5abe8eddf0d5: Pulling fs layer [2023-03-16T22:14:38.732Z] 169dfbe0d373: Waiting [2023-03-16T22:14:38.732Z] e1ff8fa3b103: Waiting [2023-03-16T22:14:38.732Z] 52ebb69f0ebf: Waiting [2023-03-16T22:14:38.732Z] 5abe8eddf0d5: Waiting [2023-03-16T22:14:38.732Z] 55522c791124: Verifying Checksum [2023-03-16T22:14:38.732Z] 55522c791124: Download complete [2023-03-16T22:14:38.732Z] 169dfbe0d373: Verifying Checksum [2023-03-16T22:14:38.732Z] 169dfbe0d373: Download complete [2023-03-16T22:14:38.732Z] e1ff8fa3b103: Verifying Checksum [2023-03-16T22:14:38.732Z] e1ff8fa3b103: Download complete [2023-03-16T22:14:38.732Z] af6eaf76a39c: Verifying Checksum [2023-03-16T22:14:38.732Z] af6eaf76a39c: Download complete [2023-03-16T22:14:39.785Z] af6eaf76a39c: Pull complete [2023-03-16T22:14:40.060Z] 5abe8eddf0d5: Verifying Checksum [2023-03-16T22:14:40.060Z] 5abe8eddf0d5: Download complete [2023-03-16T22:14:40.337Z] 55522c791124: Pull complete [2023-03-16T22:14:41.768Z] 52ebb69f0ebf: Verifying Checksum [2023-03-16T22:14:41.768Z] 52ebb69f0ebf: Download complete [2023-03-16T22:14:41.768Z] ce5c4a1c91eb: Verifying Checksum [2023-03-16T22:14:41.768Z] ce5c4a1c91eb: Download complete [2023-03-16T22:14:51.906Z] ce5c4a1c91eb: Pull complete [2023-03-16T22:14:52.174Z] 169dfbe0d373: Pull complete [2023-03-16T22:14:52.442Z] e1ff8fa3b103: Pull complete [2023-03-16T22:14:59.107Z] 52ebb69f0ebf: Pull complete [2023-03-16T22:15:00.527Z] 5abe8eddf0d5: Pull complete [2023-03-16T22:15:00.527Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-03-16T22:15:00.527Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-03-16T22:15:00.527Z] ---> 6cb57ee374ae [2023-03-16T22:15:00.527Z] Step 3/13 : ARG ADD_BUILD_TAGS="" [2023-03-16T22:15:02.506Z] ---> Running in b3050bc33cf2 [2023-03-16T22:15:02.780Z] Removing intermediate container b3050bc33cf2 [2023-03-16T22:15:02.780Z] ---> c2b2620f83d6 [2023-03-16T22:15:02.780Z] Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-03-16T22:15:02.780Z] ---> Running in e9c542d1da6f [2023-03-16T22:15:03.054Z] Removing intermediate container e9c542d1da6f [2023-03-16T22:15:03.054Z] ---> 83e7f2e54791 [2023-03-16T22:15:03.054Z] Step 5/13 : ARG ALPINE_PKG_BASE="make git" [2023-03-16T22:15:03.325Z] ---> Running in 04f8e612b973 [2023-03-16T22:15:03.594Z] Removing intermediate container 04f8e612b973 [2023-03-16T22:15:03.594Z] ---> 4c4130eac78e [2023-03-16T22:15:03.594Z] Step 6/13 : ARG ALPINE_PKG_EXTRA="" [2023-03-16T22:15:03.594Z] ---> Running in 97b94d72728f [2023-03-16T22:15:03.866Z] Removing intermediate container 97b94d72728f [2023-03-16T22:15:03.866Z] ---> 94bcfbbcdbf2 [2023-03-16T22:15:03.866Z] Step 7/13 : LABEL Name=edgex-device-onvif-camera [2023-03-16T22:15:04.140Z] ---> Running in 90e5f306127f [2023-03-16T22:15:04.419Z] Removing intermediate container 90e5f306127f [2023-03-16T22:15:04.419Z] ---> 062a42271c23 [2023-03-16T22:15:04.419Z] Step 8/13 : RUN apk add --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-03-16T22:15:04.419Z] ---> Running in 120d57de6345 [2023-03-16T22:15:05.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-03-16T22:15:06.459Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-03-16T22:15:07.905Z] OK: 263 MiB in 53 packages [2023-03-16T22:15:08.892Z] Removing intermediate container 120d57de6345 [2023-03-16T22:15:08.892Z] ---> 339c3174dfd5 [2023-03-16T22:15:08.892Z] Step 9/13 : WORKDIR /device-onvif-camera [2023-03-16T22:15:08.892Z] ---> Running in e9624a3bc6bf [2023-03-16T22:15:09.162Z] Removing intermediate container e9624a3bc6bf [2023-03-16T22:15:09.162Z] ---> 211e6ab2496a [2023-03-16T22:15:09.162Z] Step 10/13 : COPY go.mod vendor* ./ [2023-03-16T22:15:09.758Z] ---> 5a1d83e229a2 [2023-03-16T22:15:09.758Z] Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-03-16T22:15:09.758Z] ---> Running in 2e0087d18141 [2023-03-16T22:16:17.669Z] Removing intermediate container 2e0087d18141 [2023-03-16T22:16:17.669Z] ---> 885c48a7f0bc [2023-03-16T22:16:17.669Z] Step 12/13 : COPY . . [2023-03-16T22:16:17.669Z] ---> 5ec7c44ada46 [2023-03-16T22:16:17.669Z] Step 13/13 : RUN ${MAKE} [2023-03-16T22:16:17.669Z] ---> Running in a042a023e74e [2023-03-16T22:16:17.669Z] noop [2023-03-16T22:16:17.669Z] Removing intermediate container a042a023e74e [2023-03-16T22:16:17.669Z] ---> bd18f255fcac [2023-03-16T22:16:17.936Z] Successfully built bd18f255fcac [2023-03-16T22:16:17.936Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:16:18.284Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T22:16:18.284Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:16:18.493Z] prd-ubuntu20.04-docker-arm64-4c-16g-2534 does not seem to be running inside a container [2023-03-16T22:16:18.558Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T22:16:19.718Z] $ docker top c052ef7fc3d3790cad6818423752eea8bd217c979143be4a352ddf9d0357347e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:16:20.545Z] + go version [2023-03-16T22:16:20.545Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-03-16T22:16:20.562Z] $ docker stop --time=1 c052ef7fc3d3790cad6818423752eea8bd217c979143be4a352ddf9d0357347e [2023-03-16T22:16:22.151Z] $ docker rm -f --volumes c052ef7fc3d3790cad6818423752eea8bd217c979143be4a352ddf9d0357347e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:16:22.693Z] + docker inspect -f . ci-base-image-arm64 [2023-03-16T22:16:22.693Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:16:22.887Z] prd-ubuntu20.04-docker-arm64-4c-16g-2534 does not seem to be running inside a container [2023-03-16T22:16:22.957Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-03-16T22:16:24.225Z] $ docker top d6b8f1f8d60ad75c2f90bdeb10470be76d8dd8f00bc6e651b7c9661bc1473ba0 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:16:25.060Z] + git config --global --add safe.directory /w/workspace/device-onvif-camera/2 [Pipeline] fileExists [Pipeline] sh [2023-03-16T22:16:25.726Z] + make test [2023-03-16T22:16:25.726Z] go test ./... -coverprofile=coverage.out ./... [2023-03-16T22:17:04.644Z] ? github.com/edgexfoundry/device-onvif-camera [no test files] [2023-03-16T22:19:41.398Z] # github.com/edgexfoundry/device-sdk-go/v3/internal/transformer [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:18: invalid operation: pv.Offset != "" (mismatched types float64 and untyped string) [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:42:37: invalid operation: pv.Offset != defaultOffset (mismatched types float64 and string) [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:43:45: cannot use pv.Offset (variable of type float64) as string value in argument to transformOffset [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:17: invalid operation: pv.Scale != "" (mismatched types float64 and untyped string) [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:48:35: invalid operation: pv.Scale != defaultScale (mismatched types float64 and string) [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:49:44: cannot use pv.Scale (variable of type float64) as string value in argument to transformScale [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:16: invalid operation: pv.Base != "" (mismatched types float64 and untyped string) [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:54:33: invalid operation: pv.Base != defaultBase (mismatched types float64 and string) [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformparam.go:55:43: cannot use pv.Base (variable of type float64) as string value in argument to transformBase [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: invalid operation: pv.Mask != "" (mismatched types uint64 and untyped string) [2023-03-16T22:19:41.398Z] /go/pkg/mod/github.com/edgexfoundry/device-sdk-go/v3@v3.0.0-dev.45/internal/transformer/transformresult.go:53:16: too many errors [2023-03-16T22:19:49.619Z] FAIL github.com/edgexfoundry/device-onvif-camera/internal/driver [build failed] [2023-03-16T22:19:49.619Z] ? github.com/edgexfoundry/device-onvif-camera/internal/driver/mocks [no test files] [2023-03-16T22:20:11.719Z] ok github.com/edgexfoundry/device-onvif-camera/internal/netscan 19.885s coverage: 86.5% of statements [2023-03-16T22:20:11.719Z] FAIL [2023-03-16T22:20:12.310Z] make: *** [Makefile:58: unittest] Error 1 [Pipeline] } [2023-03-16T22:20:12.331Z] $ docker stop --time=1 d6b8f1f8d60ad75c2f90bdeb10470be76d8dd8f00bc6e651b7c9661bc1473ba0 [2023-03-16T22:20:14.292Z] $ docker rm -f --volumes d6b8f1f8d60ad75c2f90bdeb10470be76d8dd8f00bc6e651b7c9661bc1473ba0 [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-16T22:20:15.691Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T22:20:15.691Z] [2023-03-16T22:20:15.691Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:20:16.040Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T22:20:16.313Z] arm64: Pulling from edgex-lftools-log-publisher [2023-03-16T22:20:16.313Z] 8998bd30e6a1: Pulling fs layer [2023-03-16T22:20:16.313Z] 04944245beec: Pulling fs layer [2023-03-16T22:20:16.313Z] 699f458cf7ca: Pulling fs layer [2023-03-16T22:20:16.313Z] 765212b225bb: Pulling fs layer [2023-03-16T22:20:16.313Z] f23df028b6ca: Pulling fs layer [2023-03-16T22:20:16.313Z] d65c8cfc05b1: Pulling fs layer [2023-03-16T22:20:16.313Z] 2437ff75d9bd: Pulling fs layer [2023-03-16T22:20:16.313Z] 765212b225bb: Waiting [2023-03-16T22:20:16.313Z] f23df028b6ca: Waiting [2023-03-16T22:20:16.313Z] 2437ff75d9bd: Waiting [2023-03-16T22:20:16.313Z] d65c8cfc05b1: Waiting [2023-03-16T22:20:16.313Z] 04944245beec: Verifying Checksum [2023-03-16T22:20:16.313Z] 04944245beec: Download complete [2023-03-16T22:20:16.313Z] 765212b225bb: Download complete [2023-03-16T22:20:16.313Z] f23df028b6ca: Download complete [2023-03-16T22:20:16.599Z] d65c8cfc05b1: Verifying Checksum [2023-03-16T22:20:16.599Z] d65c8cfc05b1: Download complete [2023-03-16T22:20:16.599Z] 699f458cf7ca: Download complete [2023-03-16T22:20:16.875Z] 8998bd30e6a1: Verifying Checksum [2023-03-16T22:20:16.875Z] 8998bd30e6a1: Download complete [2023-03-16T22:20:19.687Z] 2437ff75d9bd: Verifying Checksum [2023-03-16T22:20:19.687Z] 2437ff75d9bd: Download complete [2023-03-16T22:20:21.105Z] 8998bd30e6a1: Pull complete [2023-03-16T22:20:21.375Z] 04944245beec: Pull complete [2023-03-16T22:20:22.792Z] 699f458cf7ca: Pull complete [2023-03-16T22:20:23.062Z] 765212b225bb: Pull complete [2023-03-16T22:20:23.649Z] f23df028b6ca: Pull complete [2023-03-16T22:20:23.920Z] d65c8cfc05b1: Pull complete [2023-03-16T22:20:42.166Z] 2437ff75d9bd: Pull complete [2023-03-16T22:20:42.166Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-03-16T22:20:42.166Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-03-16T22:20:42.166Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:20:42.386Z] prd-ubuntu20.04-docker-arm64-4c-16g-2534 does not seem to be running inside a container [2023-03-16T22:20:42.472Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-onvif-camera/2 -v /w/workspace/device-onvif-camera/2:/w/workspace/device-onvif-camera/2:rw,z -v /w/workspace/device-onvif-camera/2@tmp:/w/workspace/device-onvif-camera/2@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-03-16T22:20:45.498Z] $ docker top 77bcacc7fadecc1b8974ae12e4154193db9a2290065171b2afb57e299606f991 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:20:46.429Z] ---> job-cost.sh [2023-03-16T22:20:46.429Z] lf-activate-venv: SKIPPING [2023-03-16T22:20:46.429Z] INFO: No Stack... [2023-03-16T22:20:46.700Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-03-16T22:20:47.670Z] INFO: Archiving Costs [Pipeline] sh [2023-03-16T22:20:48.340Z] + cat /w/workspace/device-onvif-camera/2/archives/cost.csv [2023-03-16T22:20:48.340Z] + cut -d, -f6 [Pipeline] lock [2023-03-16T22:20:48.431Z] Trying to acquire lock on [jenkins-edgexfoundry-device-onvif-camera-PR-268-2-stack-cost] [2023-03-16T22:20:48.443Z] Resource [jenkins-edgexfoundry-device-onvif-camera-PR-268-2-stack-cost] did not exist. Created. [2023-03-16T22:20:48.444Z] Lock acquired on [jenkins-edgexfoundry-device-onvif-camera-PR-268-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-03-16T22:20:49.126Z] /w/workspace/device-onvif-camera/2@tmp/durable-ea8a7609/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-03-16T22:20:49.815Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-03-16T22:20:49.836Z] Warning: overwriting stash ‘stack-cost’ [2023-03-16T22:20:50.458Z] Stashed 1 file(s) [Pipeline] } [2023-03-16T22:20:50.467Z] Lock released on resource [jenkins-edgexfoundry-device-onvif-camera-PR-268-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-03-16T22:20:50.484Z] $ docker stop --time=1 77bcacc7fadecc1b8974ae12e4154193db9a2290065171b2afb57e299606f991 [2023-03-16T22:20:52.115Z] $ docker rm -f --volumes 77bcacc7fadecc1b8974ae12e4154193db9a2290065171b2afb57e299606f991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-03-16T22:20:52.430Z] 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-16T22:20:53.128Z] + [ -d /w/workspace/undry_device-onvif-camera_PR-268/archives ] [2023-03-16T22:20:53.129Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-268/archives [2023-03-16T22:20:53.129Z] total 16 [2023-03-16T22:20:53.129Z] drwxr-xr-x 3 root root 4096 Mar 16 22:12 . [2023-03-16T22:20:53.129Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 22:12 .. [2023-03-16T22:20:53.129Z] drwxr-xr-x 2 root root 4096 Mar 16 22:12 cost [2023-03-16T22:20:53.129Z] -rw-r--r-- 1 root root 91 Mar 16 22:12 cost.csv [2023-03-16T22:20:53.129Z] + sudo chown -R jenkins:jenkins /w/workspace/undry_device-onvif-camera_PR-268/archives [2023-03-16T22:20:53.129Z] + ls -al /w/workspace/undry_device-onvif-camera_PR-268/archives [2023-03-16T22:20:53.129Z] total 16 [2023-03-16T22:20:53.129Z] drwxr-xr-x 3 jenkins jenkins 4096 Mar 16 22:12 . [2023-03-16T22:20:53.129Z] drwxrwxr-x 11 jenkins jenkins 4096 Mar 16 22:12 .. [2023-03-16T22:20:53.129Z] drwxr-xr-x 2 jenkins jenkins 4096 Mar 16 22:12 cost [2023-03-16T22:20:53.129Z] -rw-r--r-- 1 jenkins jenkins 91 Mar 16 22:12 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:20:53.418Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:20:54.275Z] ---> package-listing.sh [2023-03-16T22:20:54.275Z] ++ facter osfamily [2023-03-16T22:20:54.275Z] ++ tr '[:upper:]' '[:lower:]' [2023-03-16T22:20:54.535Z] + OS_FAMILY=debian [2023-03-16T22:20:54.535Z] + workspace=/w/workspace/undry_device-onvif-camera_PR-268 [2023-03-16T22:20:54.535Z] + START_PACKAGES=/tmp/packages_start.txt [2023-03-16T22:20:54.535Z] + END_PACKAGES=/tmp/packages_end.txt [2023-03-16T22:20:54.535Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-03-16T22:20:54.535Z] + PACKAGES=/tmp/packages_start.txt [2023-03-16T22:20:54.535Z] + '[' /w/workspace/undry_device-onvif-camera_PR-268 ']' [2023-03-16T22:20:54.535Z] + PACKAGES=/tmp/packages_end.txt [2023-03-16T22:20:54.535Z] + case "${OS_FAMILY}" in [2023-03-16T22:20:54.535Z] + dpkg -l [2023-03-16T22:20:54.535Z] + grep '^ii' [2023-03-16T22:20:54.535Z] + '[' -f /tmp/packages_start.txt ']' [2023-03-16T22:20:54.535Z] + '[' -f /tmp/packages_end.txt ']' [2023-03-16T22:20:54.535Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-03-16T22:20:54.535Z] + '[' /w/workspace/undry_device-onvif-camera_PR-268 ']' [2023-03-16T22:20:54.535Z] + mkdir -p /w/workspace/undry_device-onvif-camera_PR-268/archives/ [2023-03-16T22:20:54.535Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/undry_device-onvif-camera_PR-268/archives/ [Pipeline] echo [2023-03-16T22:20:54.546Z] 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-268/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-03-16T22:20:54.821Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-03-16T22:20:55.381Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-03-16T22:20:55.381Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-03-16T22:20:55.450Z] prd-ubuntu20.04-docker-8c-8g-2527 does not seem to be running inside a container [2023-03-16T22:20:55.482Z] $ 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-268/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-268 -v /w/workspace/undry_device-onvif-camera_PR-268:/w/workspace/undry_device-onvif-camera_PR-268:rw,z -v /w/workspace/undry_device-onvif-camera_PR-268@tmp:/w/workspace/undry_device-onvif-camera_PR-268@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-03-16T22:20:55.666Z] $ docker top bd6668b6b67fe898465df2485a65e680cc7df6aef26dbe31f340b51c26ca486b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-03-16T22:20:56.000Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-03-16T22:20:56.291Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-03-16T22:20:56.579Z] + ls /var/log/sa-host [2023-03-16T22:20:56.579Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-03-16T22:20:56.817Z] provisioning config files... [2023-03-16T22:20:56.827Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/undry_device-onvif-camera_PR-268@tmp/config12193819615525730990tmp [Pipeline] { [Pipeline] echo [2023-03-16T22:20:56.849Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:20:57.132Z] ---> create-netrc.sh [Pipeline] } [2023-03-16T22:20:57.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:20:57.486Z] ---> python-tools-install.sh [Pipeline] echo [2023-03-16T22:20:57.495Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:20:57.780Z] ---> sudo-logs.sh [2023-03-16T22:20:57.780Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-03-16T22:20:57.816Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:20:58.097Z] ---> job-cost.sh [2023-03-16T22:20:58.098Z] lf-activate-venv: SKIPPING [2023-03-16T22:20:58.098Z] DEBUG: total: 0.2199999988079071 [2023-03-16T22:20:58.098Z] INFO: Retrieving Stack Cost... [2023-03-16T22:20:58.666Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-03-16T22:20:59.233Z] INFO: Archiving Costs [Pipeline] echo [2023-03-16T22:20:59.245Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-03-16T22:20:59.528Z] ---> logs-deploy.sh [2023-03-16T22:20:59.528Z] lf-activate-venv: SKIPPING [2023-03-16T22:20:59.528Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-onvif-camera/PR-268/2 [2023-03-16T22:20:59.528Z] INFO: archiving workspace using pattern(s): [2023-03-16T22:21:00.466Z] Archives upload complete. [2023-03-16T22:21:00.466Z] INFO: archiving logs to Nexus