[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Emmanuel Charpentier
Le dimanche 21 août 2016 01:33:57 UTC+2, leif a écrit :
>
> Emmanuel Charpentier wrote:

 
[ Snip...]

>
>
> No.  Works for me: 
>
> $ git fetch -v trac public/21135 && echo OK 
> remote: Counting objects: 2875, done. 
> remote: Compressing objects: 100% (1133/1133), done. 
> Receiving objects: 100% (2088/2088), 366.72 KiB, done. 
> remote: Total 2088 (delta 1770), reused 1219 (delta 943) 
> Resolving deltas: 100% (1770/1770), completed with 409 local objects. 
> From trac.sagemath.org:sage 
>  * branchpublic/21135 -> FETCH_HEAD 
> OK 
>
>
> And you can see the remote ref is there: 
>
> https://git.sagemath.org/sage.git/log/?h=public/21135


I can see it. but :

charpent@asus16-ec:/usr/local/sage-7$ git fetch -v trac public/21135
Looking up trac.sagemath.org ... done.
Connecting to trac.sagemath.org (port 9418) ... 104.197.143.230 done.
fatal: Couldn't find remote ref public/21135

I'm still borked (as of 06:59 UTC...). 

>
>
>
> Did you perhaps bork your remote 'trac'? 
>

What could have happened ? And (more importantly, how can I unbork ?

--
Emmanuel Charpentier

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Dima Pasechnik
in syslog on trac I see something I cannot make sense of: here is a 
connection from Ghent (Jeroen't machine, according to IP), although there 
are more from other places:

ug 21 07:39:25 trac git-daemon[27274]: Connection from 
157.193.230.60:46723Aug 21 07:39:25 trac git-daemon[27274]: Extended 
attributes (24 bytes) exist Aug 21 07:39:25 trac 
git-daemon[27274]: Request upload-pack for '/sage.git'Aug 21 07:39:25 trac 
git-daemon[1268]: [27274] DisconnectedAug 21 07:39:26 trac 
git-daemon[27277]: Connection from 157.193.230.60:46724Aug 21 07:39:26 trac 
git-daemon[27277]: Extended attributes (24 bytes) exist 
Aug 21 07:39:26 trac git-daemon[27277]: Request 
upload-pack for '/sage.git'Aug 21 07:39:26 trac git-daemon[27277]: fatal: 
The remote end hung up unexpectedlyAug 21 07:39:26 trac git-daemon[1268]: 
[27277] Disconnected (with error)Aug 21 07:41:50 trac kernel: 
[46522.610964] type=1702 audit(1471765310.271:436): op=linkat ppid=1547 
pid=27337 auid=4294967295 uid=33 gid=33 euid=33 suid=33 fsuid=33 egid=33 
sgid=33 fsgid=33 tty=(none) ses=4294967295 comm="git" exe="/usr/bin/git" 
res=0Aug 21 07:41:50 trac kernel: [46522.610971] type=1302 
audit(1471765310.271:437): item=0 
name="/srv/git/repositories/sage.git/objects/e0/642fcfc25544ae5eabd308b4be801c4b68ee78"
 
inode=2767304 dev=08:01 mode=0100440 ouid=1005 ogid=115 rdev=00:00 
nametype=NORMALAug 21 07:45:41 trac git-daemon[27420]: Connection from 
157.193.230.60:46733Aug 21 07:45:41 trac git-daemon[27420]: Extended 
attributes (24 bytes) exist Aug 21 07:45:41 trac 
git-daemon[27420]: Request upload-pack for '/sage.git'Aug 21 07:45:42 trac 
git-daemon[1268]: [27420] DisconnectedAug 21 07:45:42 trac 
git-daemon[27423]: Connection from 157.193.230.60:46734Aug 21 07:45:42 trac 
git-daemon[27423]: Extended attributes (24 bytes) exist 
Aug 21 07:45:42 trac git-daemon[27423]: Request 
upload-pack for '/sage.git'Aug 21 07:45:42 trac git-daemon[27423]: fatal: 
The remote end hung up unexpectedlyAug 21 07:45:42 trac git-daemon[1268]: 
[27423] Disconnected (with error)Aug 21 07:46:42 trac kernel: 
[46815.134381] type=1702 audit(1471765602.795:438): op=linkat ppid=1547 
pid=27451 auid=4294967295 uid=33 gid=33 euid=33 suid=33 fsuid=33 egid=33 
sgid=33 fsgid=33 tty=(none) ses=4294967295 comm="git" exe="/usr/bin/git" 
res=0Aug 21 07:46:42 trac kernel: [46815.134391] type=1302 
audit(1471765602.795:439): item=0 
name="/srv/git/repositories/sage.git/objects/e0/642fcfc25544ae5eabd308b4be801c4b68ee78"
 
inode=2767304 dev=08:01 mode=0100440 ouid=1005 ogid=115 rdev=00:00 
nametype=NORMALAug 21 07:47:19 trac kernel: [46852.155853] init: 
google-clock-sync-manager main process (25838) terminated with status 1Aug 
21 07:47:19 trac kernel: [46852.155863] init: google-clock-sync-manager 
main process ended, respawningAug 21 07:47:19 trac google-clock-sync: INFO 
Starting GCE clock syncAug 21 07:51:59 trac git-daemon[27552]: Connection 
from 157.193.230.60:46743Aug 21 07:51:59 trac git-daemon[27552]: Extended 
attributes (24 bytes) exist Aug 21 07:51:59 trac 
git-daemon[27552]: Request upload-pack for '/sage.git'Aug 21 07:51:59 trac 
git-daemon[1268]: [27552] DisconnectedAug 21 07:51:59 trac 
git-daemon[27556]: Connection from 157.193.230.60:46744Aug 21 07:51:59 trac 
git-daemon[27556]: Extended attributes (24 bytes) exist 
Aug 21 07:51:59 trac git-daemon[27556]: Request 
upload-pack for '/sage.git'Aug 21 07:51:59 trac git-daemon[27556]: fatal: 
The remote end hung up unexpectedlyAug 21 07:51:59 trac git-daemon[1268]: 
[27556] Disconnected (with error)Aug 21 07:58:16 trac git-daemon[27691]: 
Connection from 157.193.230.60:46753Aug 21 07:58:16 trac git-daemon[27691]: 
Extended attributes (24 bytes) exist Aug 21 
07:58:16 trac git-daemon[27691]: Request upload-pack for '/sage.git'Aug 21 
07:58:16 trac git-daemon[1268]: [27691] DisconnectedAug 21 07:58:16 trac 
git-daemon[27694]: Connection from 157.193.230.60:46754Aug 21 07:58:16 trac 
git-daemon[27694]: Extended attributes (24 bytes) exist 
Aug 21 07:58:16 trac git-daemon[27694]: Request 
upload-pack for '/sage.git'Aug 21 07:58:16 trac git-daemon[27694]: fatal: 
The remote end hung up unexpectedlyAug 21 07:58:16 trac git-daemon[1268]: 
[27694] Disconnected (with error)Aug 21 08:04:31 trac git-daemon[27821]: 
Connection from 157.193.230.60:46763Aug 21 08:04:31 trac git-daemon[27821]: 
Extended attributes (24 bytes) exist Aug 21 
08:04:31 trac git-daemon[27821]: Request upload-pack for '/sage.git'Aug 21 
08:04:32 trac git-daemon[1268]: [27821] DisconnectedAug 21 08:04:32 trac 
git-daemon[27824]: Connection from 157.193.230.60:46764Aug 21 08:04:32 trac 
git-daemon[27824]: Extended attributes (24 bytes) exist 
Aug 21 08:04:32 trac git-daemon[27824]: Request 
upload-pack for '/sage.git'Aug 21 08:04:32 trac git-daemon[27824]: fatal: 
The remote end hung up unexpectedlyAug 21 08:04:32 trac git-daemon[1268]: 
[27824] Disconnected (with error)

Unfortunately I don't know where (or if) there are more detailed gitolight 
logs located.
(An

Re: [sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Johan S . H . Rosenkilde
I confirm the problem, even with develop:

$ git fetch trac develop
fatal: Couldn't find remote ref develop

Best,
Johan

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread leif
Dima Pasechnik wrote:
> in syslog on trac I see something I cannot make sense of: here is a
> connection from Ghent (Jeroen't machine, according to IP), although
> there are more from other places:
> 
> ug 21 07:39:25 trac git-daemon[27274]: Connection from
> 157.193.230.60:46723Aug 21 07:39:25 trac git-daemon[27274]: Extended
> attributes (24 bytes) exist Aug 21 07:39:25 trac
> git-daemon[27274]: Request upload-pack for '/sage.git'Aug 21 07:39:25
> trac git-daemon[1268]: [27274] DisconnectedAug 21 07:39:26 trac
> git-daemon[27277]: Connection from 157.193.230.60:46724Aug 21 07:39:26
> trac git-daemon[27277]: Extended attributes (24 bytes) exist
> Aug 21 07:39:26 trac git-daemon[27277]: Request
> upload-pack for '/sage.git'Aug 21 07:39:26 trac git-daemon[27277]:
> fatal: The remote end hung up unexpectedlyAug 21 07:39:26 trac
> git-daemon[1268]: [27277] Disconnected (with error)Aug 21 07:41:50 trac
> kernel: [46522.610964] type=1702 audit(1471765310.271:436): op=linkat
> ppid=1547 pid=27337 auid=4294967295 uid=33 gid=33 euid=33 suid=33
> fsuid=33 egid=33 sgid=33 fsgid=33 tty=(none) ses=4294967295 comm="git"
> exe="/usr/bin/git" res=0Aug 21 07:41:50 trac kernel: [46522.610971]
> type=1302 audit(1471765310.271:437): item=0
> name="/srv/git/repositories/sage.git/objects/e0/642fcfc25544ae5eabd308b4be801c4b68ee78"
> inode=2767304 dev=08:01 mode=0100440 ouid=1005 ogid=115 rdev=00:00
> nametype=NORMALAug 21 07:45:41 trac git-daemon[27420]: Connection from
> 157.193.230.60:46733Aug 21 07:45:41 trac git-daemon[27420]: Extended
> attributes (24 bytes) exist Aug 21 07:45:41 trac
> git-daemon[27420]: Request upload-pack for '/sage.git'Aug 21 07:45:42
> trac git-daemon[1268]: [27420] DisconnectedAug 21 07:45:42 trac
> git-daemon[27423]: Connection from 157.193.230.60:46734Aug 21 07:45:42
> trac git-daemon[27423]: Extended attributes (24 bytes) exist
> Aug 21 07:45:42 trac git-daemon[27423]: Request
> upload-pack for '/sage.git'Aug 21 07:45:42 trac git-daemon[27423]:
> fatal: The remote end hung up unexpectedlyAug 21 07:45:42 trac
> git-daemon[1268]: [27423] Disconnected (with error)Aug 21 07:46:42 trac
> kernel: [46815.134381] type=1702 audit(1471765602.795:438): op=linkat
> ppid=1547 pid=27451 auid=4294967295 uid=33 gid=33 euid=33 suid=33
> fsuid=33 egid=33 sgid=33 fsgid=33 tty=(none) ses=4294967295 comm="git"
> exe="/usr/bin/git" res=0Aug 21 07:46:42 trac kernel: [46815.134391]
> type=1302 audit(1471765602.795:439): item=0
> name="/srv/git/repositories/sage.git/objects/e0/642fcfc25544ae5eabd308b4be801c4b68ee78"
> inode=2767304 dev=08:01 mode=0100440 ouid=1005 ogid=115 rdev=00:00
> nametype=NORMALAug 21 07:47:19 trac kernel: [46852.155853] init:
> google-clock-sync-manager main process (25838) terminated with status
> 1Aug 21 07:47:19 trac kernel: [46852.155863] init:
> google-clock-sync-manager main process ended, respawningAug 21 07:47:19
> trac google-clock-sync: INFO Starting GCE clock syncAug 21 07:51:59 trac
> git-daemon[27552]: Connection from 157.193.230.60:46743Aug 21 07:51:59
> trac git-daemon[27552]: Extended attributes (24 bytes) exist
> Aug 21 07:51:59 trac git-daemon[27552]: Request
> upload-pack for '/sage.git'Aug 21 07:51:59 trac git-daemon[1268]:
> [27552] DisconnectedAug 21 07:51:59 trac git-daemon[27556]: Connection
> from 157.193.230.60:46744Aug 21 07:51:59 trac git-daemon[27556]:
> Extended attributes (24 bytes) exist Aug 21
> 07:51:59 trac git-daemon[27556]: Request upload-pack for '/sage.git'Aug
> 21 07:51:59 trac git-daemon[27556]: fatal: The remote end hung up
> unexpectedlyAug 21 07:51:59 trac git-daemon[1268]: [27556] Disconnected
> (with error)Aug 21 07:58:16 trac git-daemon[27691]: Connection from
> 157.193.230.60:46753Aug 21 07:58:16 trac git-daemon[27691]: Extended
> attributes (24 bytes) exist Aug 21 07:58:16 trac
> git-daemon[27691]: Request upload-pack for '/sage.git'Aug 21 07:58:16
> trac git-daemon[1268]: [27691] DisconnectedAug 21 07:58:16 trac
> git-daemon[27694]: Connection from 157.193.230.60:46754Aug 21 07:58:16
> trac git-daemon[27694]: Extended attributes (24 bytes) exist
> Aug 21 07:58:16 trac git-daemon[27694]: Request
> upload-pack for '/sage.git'Aug 21 07:58:16 trac git-daemon[27694]:
> fatal: The remote end hung up unexpectedlyAug 21 07:58:16 trac
> git-daemon[1268]: [27694] Disconnected (with error)Aug 21 08:04:31 trac
> git-daemon[27821]: Connection from 157.193.230.60:46763Aug 21 08:04:31
> trac git-daemon[27821]: Extended attributes (24 bytes) exist
> Aug 21 08:04:31 trac git-daemon[27821]: Request
> upload-pack for '/sage.git'Aug 21 08:04:32 trac git-daemon[1268]:
> [27821] DisconnectedAug 21 08:04:32 trac git-daemon[27824]: Connection
> from 157.193.230.60:46764Aug 21 08:04:32 trac git-daemon[27824]:
> Extended attributes (24 bytes) exist Aug 21
> 08:04:32 trac git-daemon[27824]: Request upload-pack for '/sage.git'Aug
> 21 08:04:32 trac git-daemon[27824]: fatal: The remote end hung up
> unexpectedlyAug 21 08:04:32 trac git-daemon[1268]: [27824] Disconnected
> (with

[sage-devel] Please stop your patchbot

2016-08-21 Thread Ralf Stephan
Patchbots were started despite the git protocol problem unresolved.
People can work around on trac by changing to git@ remote but
in the patchbot is still the wrong method so YOUR patchbot is spamming
the database with ApplyFailed. Stop it please.

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Travis Scrimshaw
I can both confirm the problem and Leif's workaround works (although it 
required deleting the previous fingerprint key in the known_hosts).

Best,
Travis

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread leif
Travis Scrimshaw wrote:
> I can both confirm the problem and Leif's workaround works (although it
> required deleting the previous fingerprint key in the known_hosts).

The weird thing is that

git ls-remote git://trac.sagemath.org/sage.git

doesn't give any error, it just gives no refs at all.

So presumably rather some misconfiguration of git-daemon caused by an
update...


-leif


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Volker Braun
This should be fixed now


On Sunday, August 21, 2016 at 12:15:05 AM UTC+2, Emmanuel Charpentier wrote:
>
> I am finding myself unable to fetch the positively reviewed ticket 
> TRAC#21135 :
>
> charpent@asus16-ec:/usr/local/sage-7$ git trac checkout 21135
> Loading ticket #21135...
> Checking out Trac #21135 remote branch public/21135 -> local branch 
> t/21135/public/21135...
> Traceback (most recent call last):
>   File "/usr/local/bin/git-trac", line 18, in 
> cmdline.launch()
>   File "/home/charpent/Dev/git-trac-command/git_trac/cmdline.py", line 
> 215, in launch
> app.checkout(args.ticket_or_branch, args.branch_name)
>   File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 116, in 
> checkout
> self._checkout_ticket(int(ticket_or_branch), branch_name)
>   File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 144, in 
> _checkout_ticket
> self.repo.checkout_new_branch(ticket.branch, branch)
>   File "/home/charpent/Dev/git-trac-command/git_trac/git_repository.py", 
> line 136, in checkout_new_branch
> self.git.fetch('trac', remote)
>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
> line 341, in meth
> return self.execute(git_cmd, *args, **kwds)
>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
> line 328, in execute
> popen_stderr=subprocess.PIPE)
>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
> line 263, in _run
> raise GitError(result)
> git_trac.git_error.GitError: git returned with non-zero exit code (128) 
> when executing "git fetch trac public/21135"
> STDERR: fatal: Couldn't find remote ref public/21135
>
> I do not understand this error. This never happened to me before.
>
> Ideas ?
>
> --
> Emmanuel Charpentier
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread leif
Volker Braun wrote:
> This should be fixed now

Yep, the refs are back (also with git://).


-leif

> On Sunday, August 21, 2016 at 12:15:05 AM UTC+2, Emmanuel Charpentier wrote:
> 
> I am finding myself unable to fetch the positively reviewed ticket
> TRAC#21135 :
> 
> charpent@asus16-ec:/usr/local/sage-7$ git trac checkout 21135
> Loading ticket #21135...
> Checking out Trac #21135 remote branch public/21135 -> local branch
> t/21135/public/21135...
> Traceback (most recent call last):
> ...
>   File
> "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py",
> line 263, in _run
> raise GitError(result)
> git_trac.git_error.GitError: git returned with non-zero exit code
> (128) when executing "git fetch trac public/21135"
> STDERR: fatal: Couldn't find remote ref public/21135


-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.


[sage-devel] Re: Problem retrieving a (positively reviewed) ticket

2016-08-21 Thread Dima Pasechnik


On Sunday, August 21, 2016 at 5:23:28 PM UTC+1, Volker Braun wrote:
>
> This should be fixed now
>
> Thanks much, Volker!
I installed usual ubuntu updates from standard debs, but as you pointed out 
to me there was a manual change
in a config file that got overwritten... :-(
We need to find a way to prevent these things in the future.

Dima
 

>
> On Sunday, August 21, 2016 at 12:15:05 AM UTC+2, Emmanuel Charpentier 
> wrote:
>>
>> I am finding myself unable to fetch the positively reviewed ticket 
>> TRAC#21135 :
>>
>> charpent@asus16-ec:/usr/local/sage-7$ git trac checkout 21135
>> Loading ticket #21135...
>> Checking out Trac #21135 remote branch public/21135 -> local branch 
>> t/21135/public/21135...
>> Traceback (most recent call last):
>>   File "/usr/local/bin/git-trac", line 18, in 
>> cmdline.launch()
>>   File "/home/charpent/Dev/git-trac-command/git_trac/cmdline.py", line 
>> 215, in launch
>> app.checkout(args.ticket_or_branch, args.branch_name)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 116, 
>> in checkout
>> self._checkout_ticket(int(ticket_or_branch), branch_name)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/app.py", line 144, 
>> in _checkout_ticket
>> self.repo.checkout_new_branch(ticket.branch, branch)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/git_repository.py", 
>> line 136, in checkout_new_branch
>> self.git.fetch('trac', remote)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
>> line 341, in meth
>> return self.execute(git_cmd, *args, **kwds)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
>> line 328, in execute
>> popen_stderr=subprocess.PIPE)
>>   File "/home/charpent/Dev/git-trac-command/git_trac/git_interface.py", 
>> line 263, in _run
>> raise GitError(result)
>> git_trac.git_error.GitError: git returned with non-zero exit code (128) 
>> when executing "git fetch trac public/21135"
>> STDERR: fatal: Couldn't find remote ref public/21135
>>
>> I do not understand this error. This never happened to me before.
>>
>> Ideas ?
>>
>> --
>> Emmanuel Charpentier
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.