Hi,
getting some strange error while trying to update one of my packages:
osc is just telling:
Try env VC_REALNAME=...
Sending nats-server.SIT_Leap-15.5_Update/_service
Deleting nats-server.SIT_Leap-15.5_Update/_servicedata
Deleting nats-server.SIT_Leap-15.5_Update/nats-server-2.9.24.tar.gz
Sending nats-server.SIT_Leap-15.5_Update/nats-server.changes
Sending nats-server.SIT_Leap-15.5_Update/nats-server.spec
Sending nats-server.SIT_Leap-15.5_Update/vendor.tar.gz
Transmitting file data .Server returned an error: HTTP Error 400: Bad
Request
service validation error: 17:0: ERROR: Invalid attribute mode for
element service
while obs api is saying:
E, [2024-03-31T21:01:07.118310 #18202] ERROR -- :
[86ad16b2-8297-408b-bc9a-09031d03d70c] [18202:247657.14] validation
error: 17:0: ERROR: Invalid attribute mode for element service
I, [2024-03-31T21:01:07.120848 #18202] INFO -- :
[86ad16b2-8297-408b-bc9a-09031d03d70c] [18202:247657.14] method=PUT
path=/source/home:computersalat:branches:OBS_Maintained:nats-server/nats-server.SIT_Leap-15.5_Update/_service
format=xml controller=SourceController action=update_file status=400
duration=323.69 view=0.59 db=50.21
params={"xmlhash"=>{"service"=>[{"name"=>"obs_scm",
"param"=>[{"name"=>"url",
"_content"=>"https://github.com/nats-io/nats-server.git"},
{"name"=>"scm", "_content"=>"git"}, {"name"=>"revision",
"_content"=>"v2.9.25"}, {"name"=>"versionformat",
"_content"=>"@PARENT_TAG@"}, {"name"=>"versionrewrite-pattern",
"_content"=>"v(.*)"}, {"name"=>"exclude", "_content"=>".git"},
{"name"=>"changesgenerate", "_content"=>"disable"}]},
{"name"=>"set_version", "mode"=>"buildtime"}, {"name"=>"tar",
"mode"=>"buildtime"}, {"name"=>"recompress", "mode"=>"buildtime",
"param"=>[{"name"=>"file", "_content"=>"*.tar"}, {"name"=>"compression",
"_content"=>"xz"}]}, {"name"=>"go_modules", "mode"=>"manual",
"param"=>{"name"=>"archive",
"_content"=>"nats-server-2.9.25.obscpio"}}]}, "rev"=>"repository",
"project"=>"home:computersalat:branches:OBS_Maintained:nats-server",
"package"=>"nats-server.SIT_Leap-15.5_Update", "filename"=>"_service"}
host=2001:1620:53a4:0:5448:6c1b:d45d:2353 time=610152.61 backend=0
user=computersalat
what exactly is meant with "Invalid attribute mode for element service"?
I have same 'obs-service' packages installed on my obs instance as on my
local box. local services do work and build also.
Can someone please help me to understand this error ?
Something seem to be missing on my instance ...
Thank you
Kind Regards
--
Christian
------------------------------------------------------------
https://join.worldcommunitygrid.org?recruiterId=177038
------------------------------------------------------------
http://www.sc24.de - Sportbekleidung
------------------------------------------------------------