Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-labbsr0x-bindman-dns-webhook.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1016730-29505/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-labbsr0x-bindman-dns-webhook.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-labbsr0x-bindman-dns-webhook.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1016730-29505/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-github-labbsr0x-bindman-dns-webhook.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rxzizd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bindman-dns-webhook-1.0.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bindman-dns-webhook-1.0.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bindman-dns-webhook-1.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/bindman-dns-webhook-1.0.2/vendor + [[ ! -e /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build' install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin' + export GOPATH=/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook ]] ++ dirname /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook + install -m 0755 -vd /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src' install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com' install: creating directory '/builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x' + ln -fs /builddir/build/BUILD/bindman-dns-webhook-1.0.2 /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook + cd /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TRmffs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64 + cd bindman-dns-webhook-1.0.2 + cd /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src/github.com/labbsr0x/bindman-dns-webhook + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/labbsr0x/bindman-dns-webhook -b /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin -s /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build -o golang-github-labbsr0x-bindman-dns-webhook-devel.file-list -O /builddir/build/BUILD/bindman-dns-webhook-1.0.2 -V 1.0.2-7.fc38 -p /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: github.com/labbsr0x/bindman-dns-webhook + IFS= +++ realpath -e --relative-base=. README.md +++ sort -u ++ listfiles_include=README.md ++ echo README.md + godocs=README.md + [[ -n README.md ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xBMdS0 + umask 022 + cd /builddir/build/BUILD + cd bindman-dns-webhook-1.0.2 + LDFLAGS=' -X github.com/labbsr0x/bindman-dns-webhook/version=1.0.2' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i github.com/labbsr0x/bindman-dns-webhook -b /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin -s /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build -V 1.0.2-7.fc38 -p /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/src PATH: /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/bindman-dns-webhook-1.0.2/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/labbsr0x/bindman-dns-webhook/version=1.0.2 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '" testing: github.com/labbsr0x/bindman-dns-webhook github.com/labbsr0x/bindman-dns-webhook/src/client time="2023-07-29T13:46:37-04:00" level=info msg="Record to check: '&{test A A}'" time="2023-07-29T13:46:37-04:00" level=info msg="Record to check: '&{ A A}'" time="2023-07-29T13:46:37-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:46:37-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:46:37-04:00" level=info msg="Record to check: '&{test A A}'" time="2023-07-29T13:46:37-04:00" level=info msg="Record to check: '&{ A A}'" time="2023-07-29T13:46:37-04:00" level=info msg="Record to check: '&{test A A}'" time="2023-07-29T13:46:37-04:00" level=info msg="Record to check: '&{test A A}'" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/client 0.559s github.com/labbsr0x/bindman-dns-webhook/src/client time="2023-07-29T13:47:03-04:00" level=info msg="Record to check: '&{test A A}'" time="2023-07-29T13:47:03-04:00" level=info msg="Record to check: '&{ A A}'" time="2023-07-29T13:47:03-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:47:03-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:47:03-04:00" level=info msg="Record to check: '&{test A A}'" time="2023-07-29T13:47:03-04:00" level=info msg="Record to check: '&{ A A}'" time="2023-07-29T13:47:03-04:00" level=info msg="Record to check: '&{test A A}'" time="2023-07-29T13:47:03-04:00" level=info msg="Record to check: '&{test A A}'" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/client 0.763s github.com/labbsr0x/bindman-dns-webhook/src/hook time="2023-07-29T13:50:00-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2023-07-29T13:50:00-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2023-07-29T13:50:00-04:00" level=info msg="GetDNSRecords call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae5dc3c50 0 [] false map[] map[] map[] 0xc00020e630}" time="2023-07-29T13:50:00-04:00" level=info msg="200 Response sent. Payload: []types.DNSRecord{types.DNSRecord{Name:\"test.com.br\", Value:\"127.0.0.1\", Type:\"A\"}}" time="2023-07-29T13:50:00-04:00" level=info msg="GetDNSRecords call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae5dc3c50 0 [] false map[] map[] map[] 0xc00020ed20}" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:00-04:00" level=info msg="GetDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae5dc3c50 0 [] false map[] map[] map[] 0xc00020f530}" time="2023-07-29T13:50:00-04:00" level=info msg="200 Response sent. Payload: &types.DNSRecord{Name:\"test.com.br\", Value:\"127.0.0.1\", Type:\"A\"}" time="2023-07-29T13:50:00-04:00" level=info msg="GetDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae5dc3c50 0 [] false map[] map[] map[] 0xc00020fb90}" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:00-04:00" level=info msg="RemoveDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae5dc3c50 0 [] false map[] map[] map[] 0xc00026c270}" time="2023-07-29T13:50:00-04:00" level=info msg="RemoveDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae5dc3c50 0 [] false map[] map[] map[] 0xc00026c810}" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:00-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae5dae268 54 [] false map[] map[] map[] 0xc00026cd80}" time="2023-07-29T13:50:00-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2023-07-29T13:50:00-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae5dae268 54 [] false map[] map[] map[] 0xc00026d2c0}" time="2023-07-29T13:50:00-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:00-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae5dc3c50 0 [] false map[] map[] map[] 0xc00026d920}" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*errors.errorString)(0xc00006e120)}" time="2023-07-29T13:50:00-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"\",\"type\":\"\"}\n} 0xaaaaaae5dae268 44 [] false map[] map[] map[] 0xc00026dec0}" time="2023-07-29T13:50:00-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!s()" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string{\"the value of field 'value' cannot be empty\", \"the value of field 'type' cannot be empty\"}, Err:error(nil)}" time="2023-07-29T13:50:00-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {\"invalid format\"\n} 0xaaaaaae5dae268 17 [] false map[] map[] map[] 0xc00027c540}" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*json.UnmarshalTypeError)(0xc000226690)}" time="2023-07-29T13:50:00-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae5dae268 54 [] false map[] map[] map[] 0xc00027cae0}" time="2023-07-29T13:50:00-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2023-07-29T13:50:00-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae5dae268 54 [] false map[] map[] map[] 0xc00027d020}" time="2023-07-29T13:50:00-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:00-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae5dc3c50 0 [] false map[] map[] map[] 0xc00027d680}" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*errors.errorString)(0xc00006e120)}" time="2023-07-29T13:50:00-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"\",\"type\":\"\"}\n} 0xaaaaaae5dae268 44 [] false map[] map[] map[] 0xc00027dc20}" time="2023-07-29T13:50:00-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!s()" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string{\"the value of field 'value' cannot be empty\", \"the value of field 'type' cannot be empty\"}, Err:error(nil)}" time="2023-07-29T13:50:00-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {\"invalid format\"\n} 0xaaaaaae5dae268 17 [] false map[] map[] map[] 0xc0002982a0}" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*json.UnmarshalTypeError)(0xc000226870)}" time="2023-07-29T13:50:00-04:00" level=info msg="200 Response sent. Payload: " time="2023-07-29T13:50:00-04:00" level=info msg="200 Response sent. Payload: hook.test{Message:\"Hello world\"}" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (400): error; \n Inner error: %!s()" time="2023-07-29T13:50:00-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"error\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:00-04:00" level=error msg="ERROR (500): An internal server error occurred, please contact the system administrator.; \n Inner error: %!s()" time="2023-07-29T13:50:00-04:00" level=info msg="500 Response sent. Payload: &types.Error{Message:\"An internal server error occurred, please contact the system administrator.\", Code:500, Details:[]string(nil), Err:error(nil)}" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/hook 1.129s github.com/labbsr0x/bindman-dns-webhook/src/hook time="2023-07-29T13:50:37-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2023-07-29T13:50:37-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2023-07-29T13:50:37-04:00" level=info msg="GetDNSRecords call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae9c63c50 0 [] false map[] map[] map[] 0xc0001a0960}" time="2023-07-29T13:50:37-04:00" level=info msg="200 Response sent. Payload: []types.DNSRecord{types.DNSRecord{Name:\"test.com.br\", Value:\"127.0.0.1\", Type:\"A\"}}" time="2023-07-29T13:50:37-04:00" level=info msg="GetDNSRecords call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae9c63c50 0 [] false map[] map[] map[] 0xc0001a1050}" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:37-04:00" level=info msg="GetDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae9c63c50 0 [] false map[] map[] map[] 0xc0001a1860}" time="2023-07-29T13:50:37-04:00" level=info msg="200 Response sent. Payload: &types.DNSRecord{Name:\"test.com.br\", Value:\"127.0.0.1\", Type:\"A\"}" time="2023-07-29T13:50:37-04:00" level=info msg="GetDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae9c63c50 0 [] false map[] map[] map[] 0xc0001a1ec0}" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:37-04:00" level=info msg="RemoveDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae9c63c50 0 [] false map[] map[] map[] 0xc0001ce5a0}" time="2023-07-29T13:50:37-04:00" level=info msg="RemoveDNSRecord call. Http Request: &{GET /records/test.com.br/A HTTP/1.1 1 1 map[] {} 0xaaaaaae9c63c50 0 [] false map[] map[] map[] 0xc0001ceb40}" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:37-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae9c4e268 54 [] false map[] map[] map[] 0xc0001cf0b0}" time="2023-07-29T13:50:37-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2023-07-29T13:50:37-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae9c4e268 54 [] false map[] map[] map[] 0xc0001cf5f0}" time="2023-07-29T13:50:37-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:37-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae9c63c50 0 [] false map[] map[] map[] 0xc0001cfc50}" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*errors.errorString)(0xc00006e100)}" time="2023-07-29T13:50:37-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"\",\"type\":\"\"}\n} 0xaaaaaae9c4e268 44 [] false map[] map[] map[] 0xc0001e4210}" time="2023-07-29T13:50:37-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!s()" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string{\"the value of field 'value' cannot be empty\", \"the value of field 'type' cannot be empty\"}, Err:error(nil)}" time="2023-07-29T13:50:37-04:00" level=info msg="UpdateDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {\"invalid format\"\n} 0xaaaaaae9c4e268 17 [] false map[] map[] map[] 0xc0001e4870}" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*json.UnmarshalTypeError)(0xc00007b180)}" time="2023-07-29T13:50:37-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae9c4e268 54 [] false map[] map[] map[] 0xc0001e4e10}" time="2023-07-29T13:50:37-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2023-07-29T13:50:37-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"127.0.0.1\",\"type\":\"A\"}\n} 0xaaaaaae9c4e268 54 [] false map[] map[] map[] 0xc0001e5350}" time="2023-07-29T13:50:37-04:00" level=info msg="Record to check: '&{test.com.br 127.0.0.1 A}'" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): test message; \n Inner error: %!s()" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"test message\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:37-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {} 0xaaaaaae9c63c50 0 [] false map[] map[] map[] 0xc0001e59b0}" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: EOF" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*errors.errorString)(0xc00006e100)}" time="2023-07-29T13:50:37-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {{\"name\":\"test.com.br\",\"value\":\"\",\"type\":\"\"}\n} 0xaaaaaae9c4e268 44 [] false map[] map[] map[] 0xc0001e5f50}" time="2023-07-29T13:50:37-04:00" level=info msg="Record to check: '&{test.com.br }'" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!!(MISSING)s()" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: %!s()" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string{\"the value of field 'value' cannot be empty\", \"the value of field 'type' cannot be empty\"}, Err:error(nil)}" time="2023-07-29T13:50:37-04:00" level=info msg="AddDNSRecord call. Http Request: &{GET /records HTTP/1.1 1 1 map[] {\"invalid format\"\n} 0xaaaaaae9c4e268 17 [] false map[] map[] map[] 0xc0001f85d0}" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): Invalid request body. You must pass a JSON formatted record on request body; \n Inner error: json: cannot unmarshal string into Go value of type types.DNSRecord" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"Invalid request body. You must pass a JSON formatted record on request body\", Code:400, Details:[]string(nil), Err:(*json.UnmarshalTypeError)(0xc00007b360)}" time="2023-07-29T13:50:37-04:00" level=info msg="200 Response sent. Payload: " time="2023-07-29T13:50:37-04:00" level=info msg="200 Response sent. Payload: hook.test{Message:\"Hello world\"}" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (400): error; \n Inner error: %!s()" time="2023-07-29T13:50:37-04:00" level=info msg="400 Response sent. Payload: &types.Error{Message:\"error\", Code:400, Details:[]string(nil), Err:error(nil)}" time="2023-07-29T13:50:37-04:00" level=error msg="ERROR (500): An internal server error occurred, please contact the system administrator.; \n Inner error: %!s()" time="2023-07-29T13:50:37-04:00" level=info msg="500 Response sent. Payload: &types.Error{Message:\"An internal server error occurred, please contact the system administrator.\", Code:500, Details:[]string(nil), Err:error(nil)}" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/hook 1.074s github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics PASS ok github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics 0.776s github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics PASS ok github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics 0.803s github.com/labbsr0x/bindman-dns-webhook/src/types time="2023-07-29T13:52:08-04:00" level=info msg="Record to check: '&{t.test.com 0.0.0.0 A}'" time="2023-07-29T13:52:08-04:00" level=info msg="Record to check: '&{ 0.0.0.0 A}'" time="2023-07-29T13:52:08-04:00" level=info msg="Record to check: '&{ A}'" time="2023-07-29T13:52:08-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:52:08-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:52:08-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:52:08-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:52:08-04:00" level=error msg=Test time="2023-07-29T13:52:08-04:00" level=error msg="ERROR (0): ; \n Inner error: %!!(MISSING)s()" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/types 0.472s github.com/labbsr0x/bindman-dns-webhook/src/types time="2023-07-29T13:52:29-04:00" level=info msg="Record to check: '&{t.test.com 0.0.0.0 A}'" time="2023-07-29T13:52:29-04:00" level=info msg="Record to check: '&{ 0.0.0.0 A}'" time="2023-07-29T13:52:29-04:00" level=info msg="Record to check: '&{ A}'" time="2023-07-29T13:52:29-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:52:29-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:52:29-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:52:29-04:00" level=info msg="Record to check: '&{ }'" time="2023-07-29T13:52:29-04:00" level=error msg=Test time="2023-07-29T13:52:29-04:00" level=error msg="ERROR (0): ; \n Inner error: %!!(MISSING)s()" PASS ok github.com/labbsr0x/bindman-dns-webhook/src/types 0.578s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-labbsr0x-bindman-dns-webhook-devel-1.0.2-7.fc38.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.US3nrs + umask 022 + cd /builddir/build/BUILD + cd bindman-dns-webhook-1.0.2 + DOCDIR=/builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64/usr/share/doc/golang-github-labbsr0x-bindman-dns-webhook-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64/usr/share/doc/golang-github-labbsr0x-bindman-dns-webhook-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64/usr/share/doc/golang-github-labbsr0x-bindman-dns-webhook-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.04WXf6 + umask 022 + cd /builddir/build/BUILD + cd bindman-dns-webhook-1.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64/usr/share/licenses/golang-github-labbsr0x-bindman-dns-webhook-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64/usr/share/licenses/golang-github-labbsr0x-bindman-dns-webhook-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64/usr/share/licenses/golang-github-labbsr0x-bindman-dns-webhook-devel + RPM_EC=0 ++ jobs -p + exit 0 grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : grep: warning: stray \ before : Provides: golang(github.com/labbsr0x/bindman-dns-webhook/src/client) = 1.0.2-7.fc38 golang(github.com/labbsr0x/bindman-dns-webhook/src/hook) = 1.0.2-7.fc38 golang(github.com/labbsr0x/bindman-dns-webhook/src/hook/metrics) = 1.0.2-7.fc38 golang(github.com/labbsr0x/bindman-dns-webhook/src/types) = 1.0.2-7.fc38 golang-github-labbsr0x-bindman-dns-webhook-devel = 1.0.2-7.fc38 golang-ipath(github.com/labbsr0x/bindman-dns-webhook) = 1.0.2-7.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem golang(github.com/go-errors/errors) golang(github.com/gorilla/mux) golang(github.com/labbsr0x/goh/gohclient) golang(github.com/prometheus/client_golang/prometheus) golang(github.com/prometheus/client_golang/prometheus/promhttp) golang(github.com/sirupsen/logrus) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-labbsr0x-bindman-dns-webhook-1.0.2-7.fc38.riscv64 Wrote: /builddir/build/RPMS/golang-github-labbsr0x-bindman-dns-webhook-devel-1.0.2-7.fc38.noarch.rpm Child return code was: 0