/srv/irclogs.ubuntu.com/2016/04/04/#launchpad.txt

=== lan3y is now known as Laney
=== Laney is now known as Guest76158
=== Guest76158 is now known as Laney
kyrofacjwatson, the snap builders are dreamy by the way. My only complaint is that the proxy is a little flaky sometimes (I get errors about it needing authentication sometimes)13:20
kyrofacjwatson, any chance the snap builders are somehow exposed in the python API?13:20
cjwatsonflaky> do file bugs about that kind of thing with specific references.  it may be that the timeout is too low13:21
cjwatsonkyrofa: API> how do you mean?13:21
kyrofacjwatson, can I request a snap to be built from a script after I push instead of having to login and do it?13:22
kyrofa(via the website)13:22
cjwatsonkyrofa: absolutely - https://launchpad.net/+apidoc/devel.html#snap-requestBuild13:23
kyrofacjwatson, yessss13:23
kyrofacjwatson, nice work :)13:24
cjwatsonwe tend to do API first when it's reasonable to do so13:24
cjwatsonauth tokens are supposed to live for 15 minutes after the build is dispatched13:25
cjwatsonif the error was after that point, we may need to tweak the timeout; if it was before that point, something more complicated is wrong13:26
chrisr_I am strugglyng for several days now to upload a new cpp-ethereum package to https://launchpad.net/~ethereum/+archive/ubuntu/ethereum . A similar package works for another sub-ppa: https://launchpad.net/~ethereum/+archive/ubuntu/ethereum-dev14:20
chrisr_Now I uploaded the package manually https://gist.github.com/chriseth/2283063b62adaf687a7e5b47e0efe4d6 - but I neither see it on the website nor did I get a rejection mail14:20
chrisr_is it possible that the package is blocked from building?14:21
chrisr_(sorry, I don't have access to the main email address that is associated with that ppa)14:21
dobeywas the source package signed with a key that is expired (or just not signed)?14:25
chrisr_the packages that are working and the ones that are not working use the same script just with different parameters14:25
chrisr_ah, but I might not have uploaded my key for the manual upload14:25
chrisr_For such an error, do I have to increment the version number?14:33
dobeyno14:39
dobeybecause the packages wer enot uploaded14:39
chrisr_ok, uploaded with dput -f 10 minutes ago and still no email and nothing on https://launchpad.net/~ethereum/+archive/ubuntu/ethereum/+builds?build_text=&build_state=all (note the package is called cpp-ethereum) :-(14:44
cjwatson2016-04-04 14:37:19 INFO    Failed to parse changes file '/srv/launchpad.net/ppa-queue/incoming/upload-ftp-20160404-143622-029858/~ethereum/ethereum/cpp-ethereum_1.2.3~trusty-0ubuntu4_source.changes': GPG verification of /srv/launchpad.ne14:51
cjwatsont/ppa-queue/incoming/upload-ftp-20160404-143622-029858/~ethereum/ethereum/cpp-ethereum_1.2.3~trusty-0ubuntu4_source.changes failed: Verification failed 3 times: ["(7, 9, u'No public key')", "(7, 9, u'No public key')", "(7, 9, u'No public14:51
cjwatsonkey')"]14:51
cjwatsonare you sure you signed it, and that the key you signed it with is associated with your LP account?14:51
cjwatsonmay also be worth retrying given that you only uploaded the key today; it could have taken the keyserver a while to notice14:52
cjwatsonis http://keyserver.ubuntu.com:11371/pks/lookup?fingerprint=on&op=index&search=0x3767635665B80533C6D94F09495C57E6E7A63463 the right key?14:52
chrisr_yes, it's the right key14:54
chrisr_"retrying" is "dput -f" or increment version suffix + dput?14:55
chrisr_I associated the key only afterwards, so that might very well be it14:55
chrisr_(though the original issue with our automation not being able to create packages is a different thing)14:55
cjwatsondput -f14:58
cjwatsondobey is right that you don't need to change the version number since the upload wasn't actually processed14:58
chrisr_still neither mail nor info on the ppa15:07
Laneyhttp://archive.ubuntu.com/ubuntu/dists/xenial/main/i18n/ doesn't contain Translation-* for non-en but other releases do - bug?15:45
mvohi, I wonder what happend to my upload of https://launchpad.net/ubuntu/+source/ddtp-translations/20160323.1 ?15:45
Laneyha15:45
Laneycjwatson: ^- fallout from recent work?15:45
cjwatsonit's possible.  I don't have time to look today - could you file a bug?15:46
Laneyokay15:46
mvocould you do that Laney? I'm still in a meeting, I would be very thankful15:47
Laneyok15:47
* mvo hugs Laney16:04
pouet12345hello18:29
pouet12345is there debian packages for launchpad server ?18:30
pouet12345.deb18:30
dobeyno18:30
dobeylaunchpad isn't really designed to be run externally from launchpad.net18:31
pouet12345is it opensource ?18:32
pouet12345dobey, ok so it's similar to github rules ?18:32
pouet12345only open source projects are free18:33
pouet12345in fact I am looking for something similar to github for my private use18:33
pouet12345on my machines18:33
dobeyi don't know what rules you're talking about18:35
dobeylaunchpad the software is open source18:35
dobeyit's simply not built to be run as a private instance (it's not really supported to do so)18:35
exfalsohi, first time ppa user. I'm trying to upload a package using dput. It successfully finished with `Successfully uploaded packages.`, exit code 0, however no email was sent and it didn't appear on launchpad. Then I realized I didn't add my gpg key. I did this now, verified it etc, but not sure how to proceed. dput now says `Package has already been uploaded to ppa on ppa.launchpad.net`, but it's not19:00
wxlhey i'm intending to deactivate https://launchpad.net/~lubuntu-qa/+mailinglist but how can i get the archives to save them?19:00
exfalsothere19:00
naccexfalso: you can force it, but it might complain that the version is not good, as lp tends to enforce that the versions change19:02
naccexfalso: it's just seeing the .upload file in the cwd, iirc19:02
exfalsonacc: good stuff, i just removed the .upload and now it uploaded again19:03
tgm4883Shouldn't this have died after a timeout  https://launchpad.net/~mythbuntu/+archive/ubuntu/master-building/+build/952899819:08
dobeyexfalso: if you didn't get an e-mail, then most likely the source package was not signed, or was signed with a key that launchpad doesn't know about19:17
cjwatsontgm4883: there's a bug in the timeout handling that unfortunately some builds run into if they leave processes lying around after the build.  You should have a "cancel build" link19:36
cjwatsonit's a known bug but quite hard to fix (requires migrating launchpad-buildd from sbuild's sudo mode to schroot mode)19:36
tgm4883cjwatson: ok thanks for the info. I just cancelled it, just wanted to verify it wasn't super weird I should be worried about19:37
cjwatsonit is super weird but it is a piece of super weirdness we know about ;-)19:37
cjwatsonand not just you19:38
oparozIs there a good guide on setting up a git project on launchpad?22:42
blrhi oparoz, this is what we have currently https://help.launchpad.net/Code/Git22:53
oparozThanks blr. It doesn't work for me as git bash is not connecting. It keeps asking for my passphrase and then gives me a fatal: Could not read from remote repository22:54
oparozblr Not sure if there is anything to do before being able to push or even fetch22:55
blroparoz: do you have an ssh key associated with your user?22:56
oparozblr, yes I do22:57
oparozblr I have a .ssh/config with Host git.launchpad.net22:57
oparozblr IdentityFile and User as well22:57
blrand you're pushing to git+ssh://git.launchpad.net/project-name?22:58
oparozblr: I did a: $ git remote add launchpad git+ssh://git.launchpad.net/oc-snap22:58
oparozblr and git fetch launchpad22:59
blrand `git push launchpad master` fails?22:59
oparozblr. Yes, same problem after the 3 failed password, I get: Permission denied (publickey). fatal: Could not read from remote repository.23:00
oparozblr, I'm on Windows btw..23:00
blrhmm okay, this is on msysgit?23:01
oparozblr - Does the comment in the public key need to match something locally?23:01
oparozblr: It's called git bash and using MINGW6423:02
oparozblr: The same repo is pushing to Github23:03
wgrantoparoz: What happens if you enter the right password?23:04
wgrantFailing the key's password prompts won't get you very far.23:04
oparozwgrant: The password is fine, it's just being refused by the remote server23:04
wgrantoparoz: git.launchpad.net's SSH server will never ask for a password.23:04
wgrantIt only accepts key authentication.23:04
wgrantAny password prompt is a local thing.23:05
oparozwgrant: What I mean is that it shoult be authenticated locally and pushing something to be validated on the server, which is not recognized23:05
wgrantBut you say that the permission denied error from the server only occurs after three failed password attempts.23:05
wgrantThose password attempts must be to unlock the key; if you fail them all it's not going to work.23:06
oparozwgrant: I can load the key in pageant per example, I'm being asked for a password and it's accepted the first time23:06
oparozwgrant: Maybe it's a local problem with the password not being properly validated by git bash23:06
wgrantThat seems most likely, unless your Launchpad username is misconfigured in your client.23:07
oparozwgrant: It does have a hyphen, should that be escaped?23:08
wgrantoparoz: Shouldn't need to be.23:12
wgrantoparoz: What happens if you ssh -v olivier-interfasys@git.launchpad.net?23:12
oparozwgrant: exact same thing23:14
oparoz Authenticating to git.launchpad.net:22 as 'olivier-interfasys'23:14
oparozHost 'git.launchpad.net' is known and matches the RSA host key.23:14
oparozAuthentications that can continue: publickey23:14
oparoz Trying private key23:15
oparozwgrant: must be local decoding23:15
oparozwgrant: Maybe the key needs to be converted23:16
oparozNah, it would get rejected from the start23:16
oparozwgrant: I should have generated the key using openssh...23:17
oparozwgrant: Yeah, that was it...23:19
oparozThank you wgrant and lbr for your help23:19
wgrantoparoz: What was the problem?23:19
oparozwgrant: I had forgotten, when I import server keys, they're in the OpenSSH format and work fine, but I followed the launchpad ssh keys guide for Windows23:20
oparozwgrant: And it assumes people are going to use the putty suite only23:21
oparozwgrant: But git bash and most dev tools will use ~/.ssh23:22
wgrantoparoz: Ah, right. Those instructions predate git support, so it possibly makes sense to revise them.23:24
oparozwgrant: Yeah, a little addendum mentioning how to use those keys with software which don't use pageant23:26
oparozwgrant: But it's disappointing that the error message wasn't clearer. It should detect that the format of the key is wrong. One app gave me a hint, but I didn't understand it. It said the aes256-cbc wasn't supported...23:28
wgrantSounds like an OpenSSH problem.23:29
oparozwgrant: Indeed23:29
oparozBut it's really cool to be able to build snaps fro Launchpad23:32
ajmitch_wgrant: LP is now rejecting dsa ssh keys now, right?23:32
ajmitch_either that or it's the client-side ssh configuration for me after upgrading to xenial23:35
oparozIs there some information on the building infrastructure? I see "arm64 armel armhf (virtual)" and was wondering on what type of metal this was running23:42
wgrantoparoz: They're arm64 OpenStack instances on HPE Moonshot m400 cartridges.23:45
cjwatsonajmitch_: LP isn't, but xenial's OpenSSH client no longer sends them.  http://www.openssh.com/legacy.html23:46
cjwatson(LP possibly should)23:47
ajmitch_cjwatson: yeah, I'd noticed that it was no longer accepting them, I wasn't sure whether the LP key rejection was client-side or not23:48
ajmitch_I am finding it's not accepting ecdsa or ed25519 public keys though, haven't checked for an LP bug yet23:48
cjwatsonajmitch_: That's known; the libraries we use aren't up to the job yet.23:49
ajmitch_alright23:49
cjwatsonRSA > DSA23:49
oparozThank you wgrant23:49
cjwatsonSo switch to 4096-bit RSA as a starting point23:49
cjwatsonajmitch_: (LP doesn't use a standard OpenSSH server or similar, because we need much more control over what users are allowed to do, how they're authenticated, etc.; some of our endpoints even implement custom SFTP filesystem namespaces.  So we use Twisted for that, but some of its crypto still needs some improvement.  https://bugs.launchpad.net/launchpad/+bug/907675)23:51
ubot5`Launchpad bug 907675 in Launchpad itself "Add support for ECDSA and Ed25519 SSH keys" [Low,Triaged]23:51
ajmitch_right, I'd known it was a custom ssh server, hopefully twisted can catch up23:54

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!