osc build fail in my own OBS (2.10.16)

my obs env: virtualbox with obs-server.x86_64-2.10.16 Here is my steps in frontend: 1. I sign up a test account and set it as Admin. 2. set Configuration->Interconnect, connect Standard OBS instance at build.opensuse.org 3. set Repositories->Add from a Distribution, add openSUSE Tumbleweed with x86_64 4. add a helloworld package with spec and source.tar.gz file in my home project In client side: 1. osc checkout my_home:project 2. osc build openSUSE_Tumbleweed x86_64 (my helloworld package) --> fail Here is error message: GET https://192.168.0.110/source/home:jerrytsai/_meta Building hello.spec for openSUSE_Tumbleweed/x86_64 POST https://192.168.0.110/source/home:jerrytsai/helloworld?cmd=getprojectservice... Getting buildconfig from server and store to /home/home:jerrytsai/helloworld/.osc/_buildconfig-openSUSE_Tumbleweed-x86_64 GET https://192.168.0.110/build/home:jerrytsai/openSUSE_Tumbleweed/_buildconfig Getting buildinfo from server and store to /home/home:jerrytsai/helloworld/.osc/_buildinfo-openSUSE_Tumbleweed-x86_64.xml POST https://192.168.0.110/build/home:jerrytsai/openSUSE_Tumbleweed/x86_64/_repos... Server returned an error: HTTP Error 400: Bad Request received truncated answer how to fix this issue, thanks for your replay

On Mittwoch, 20. Juli 2022, 04:33:32 CEST tsai wrote:
my obs env: virtualbox with obs-server.x86_64-2.10.16
Here is my steps in frontend: 1. I sign up a test account and set it as Admin. 2. set Configuration->Interconnect, connect Standard OBS instance at build.opensuse.org 3. set Repositories->Add from a Distribution, add openSUSE Tumbleweed with x86_64 4. add a helloworld package with spec and source.tar.gz file in my home project
In client side: 1. osc checkout my_home:project 2. osc build openSUSE_Tumbleweed x86_64 (my helloworld package) --> fail
Here is error message: GET https://192.168.0.110/source/home:jerrytsai/_meta Building hello.spec for openSUSE_Tumbleweed/x86_64 POST https://192.168.0.110/source/home:jerrytsai/helloworld?cmd=getprojectservice... Getting buildconfig from server and store to /home/home:jerrytsai/helloworld/.osc/_buildconfig-openSUSE_Tumbleweed-x86_64 GET https://192.168.0.110/build/home:jerrytsai/openSUSE_Tumbleweed/_buildconfig Getting buildinfo from server and store to /home/home:jerrytsai/helloworld/.osc/_buildinfo-openSUSE_Tumbleweed-x86_64.xml POST https://192.168.0.110/build/home:jerrytsai/openSUSE_Tumbleweed/x86_64/_repos... Server returned an error: HTTP Error 400: Bad Request received truncated answer
I would check the repository server log first /srv/obs/log/rep_server.log -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev

Hi Adrian, Thanks for reply. I checked the log from /srv/obs/log/rep_server.log, but I can't find any problem. I attach my log files and need help to find out some problem Best regards, Jerry -----Original Message----- From: Adrian Schröter <adrian@suse.de> Sent: Wednesday, July 20, 2022 2:07 PM To: buildservice@lists.opensuse.org Cc: Jerry Hsien-Te Tsai(蔡憲德) <jerytsai@andestech.com> Subject: Re: osc build fail in my own OBS (2.10.16) On Mittwoch, 20. Juli 2022, 04:33:32 CEST tsai wrote:
my obs env: virtualbox with obs-server.x86_64-2.10.16
Here is my steps in frontend: 1. I sign up a test account and set it as Admin. 2. set Configuration->Interconnect, connect Standard OBS instance at build.opensuse.org 3. set Repositories->Add from a Distribution, add openSUSE Tumbleweed with x86_64 4. add a helloworld package with spec and source.tar.gz file in my home project
In client side: 1. osc checkout my_home:project 2. osc build openSUSE_Tumbleweed x86_64 (my helloworld package) --> fail
Here is error message: GET https://192.168.0.110/source/home:jerrytsai/_meta Building hello.spec for openSUSE_Tumbleweed/x86_64 POST https://192.168.0.110/source/home:jerrytsai/helloworld?cmd=getprojects ervices Getting buildconfig from server and store to /home/home:jerrytsai/helloworld/.osc/_buildconfig-openSUSE_Tumbleweed- x86_64 GET https://192.168.0.110/build/home:jerrytsai/openSUSE_Tumbleweed/_buildc onfig Getting buildinfo from server and store to /home/home:jerrytsai/helloworld/.osc/_buildinfo-openSUSE_Tumbleweed-x8 6_64.xml POST https://192.168.0.110/build/home:jerrytsai/openSUSE_Tumbleweed/x86_64/ _repository/_buildinfo?add=gdb&add=vim&add=strace&add=less&add=rzsz Server returned an error: HTTP Error 400: Bad Request received truncated answer
I would check the repository server log first /srv/obs/log/rep_server.log -- Adrian Schroeter <adrian@suse.de> Build Infrastructure Project Manager SUSE Software Solutions Germany GmbH, Frankenstraße 146, 90461 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev CONFIDENTIALITY NOTICE: This e-mail (and its attachments) may contain confidential and legally privileged information or information protected from disclosure. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein is strictly prohibited. In this case, please immediately notify the sender by return e-mail, delete the message (and any accompanying documents) and destroy all printed hard copies. Thank you for your cooperation. Copyright ANDES TECHNOLOGY CORPORATION - All Rights Reserved.

Hey, On 20.07.22 08:48, Jerry Hsien-Te Tsai(蔡憲德) wrote:
I attach my log files and need help to find out some problem
bs_srcserver.slow.log:2022-07-20 06:30:41: 33s [2911] POST (127.0.0.1) /build/home:jerrytsai/openSUSE_Tumbleweed/x86_64/helloworld/_buildinfo?add=gdb&add=vim&add=strace&add=less&add=rzsz src_server.log:2022-07-20 06:30:41: [2911] POST (127.0.0.1) /build/home:jerrytsai/openSUSE_Tumbleweed/x86_64/helloworld/_buildinfo?add=gdb&add=vim&add=strace&add=less&add=rzsz src_server.log:127.0.0.1 [2911]: received truncated answer Looks like you ran into a timeout with api.opensuse.org Henne -- Henne Vogelsang http://www.opensuse.org Everybody has a plan, until they get hit. - Mike Tyson
participants (4)
-
Adrian Schröter
-
Henne Vogelsang
-
Jerry Hsien-Te Tsai(蔡憲德)
-
tsai