maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Want more apps? Vote for this bug (https://talk.maemo.org/showthread.php?t=36229)

jebba 2009-12-08 01:13

Want more apps? Vote for this bug
 
One holdup for making more applications available is that it takes forever for developers to get programs compiled on the Maemo servers. Things that should take minutes take hour+. This really impedes the workflow for developers, so projects that should be done in an afternoon take a week instead...

A big cause of this is the actual servers building the applications (and hosting things like "brainstorm") are overloaded and sloooooow.

Nokia knows this, and supposedly was getting set up with a new ISP--in October. Will this happen before Christmas? Spring/Fall? 2012?

Let Nokia know you would like to see things sped up... As more users start using the N900, things are just going to slow down *more* if they don't get on the ball with this.

You can vote for this bug as one way to let them know.
https://bugs.maemo.org/show_bug.cgi?id=5818
https://bugs.maemo.org/votes.cgi?act...5818#vote_5818

A bit more info here:
http://wiki.maemo.org/ISP_Move

Thanks!

-Jeff
http://wiki.maemo.org/User:Jebba

Andre Klapper 2009-12-08 11:43

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by jebba (Post 415720)
Nokia knows this, and supposedly was getting set up with a new ISP--in October. Will this happen before Christmas? Spring/Fall? 2012?

That's a bit unfair, as the guys working on this do not postpone it purposely to save money or something like that.
I hope that it goes live this month. Also see http://wiki.maemo.org/Maemo.org_Sprints/December_09

jebba 2009-12-08 16:35

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by Andre Klapper (Post 416301)

That page says it's 2% done and "Work started. The first machines are being installed. Linked to ISP move."

See also:
Checking November:
http://wiki.maemo.org/Maemo.org_Sprints/November_09

Identical text: "Work started. The first machines are being installed. Linked to ISP move." It also reports 2% being done.

In October,
http://wiki.maemo.org/Maemo.org_Sprints/October_09
"Servers will be available in November only. "

-Jeff

That One Guy 2009-12-08 16:40

Re: Want more apps? Vote for this bug
 
So... Maemo developers can't compile their code locally? I'm confused...

javispedro 2009-12-08 16:42

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by jebba (Post 415720)
One holdup for making more applications available is that it takes forever for developers to get programs compiled on the Maemo servers. Things that should take minutes take hour+.

A night's worth of holdup is next to nothing when compared to the -testing one.

hypnotik 2009-12-08 16:43

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by That One Guy (Post 416822)
So... Maemo developers can't compile their code locally? I'm confused...

Yeah, it definitely is confusing... "Must compile apps on Maemo Servers" sounds like a "must distribute app through app store"

WHY?

sjgadsby 2009-12-08 16:50

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by hypnotik (Post 416832)
WHY?

"Extras repository process definition" in the wiki may answer some of your questions.

And it is not required that an application be compiled by the autobuilder to be included in Extras. That's only a requirement for "free", and there's also "non-free" for closed source software.*

* Free as freedom, not as in beer.

jebba 2009-12-08 16:53

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by That One Guy (Post 416822)
So... Maemo developers can't compile their code locally? I'm confused...

You can compile locally and install it on your own fone, for example, but if I want to make a package available for testing in extras-devel, I have to upload the source files to the build server, it gets built there, then pushed into extras-devel. I can't upload binary/pre-compiled .debs.

I also saw in IRC that the build box is qemu-arm (!). Here's it compiling erlang, which has taken something like 16 hours (and still running):

Code:

progname erl -- -home /home/builder1/maemo-fremantle-armel-extras-devel/work/erlang-13.b.2.1-dfsg/debian -noshell -noinput -mode minimal -boot start_clean -s erl_compile compile_cmdline @cwd /home/builder1/maemo-fremantle-armel-extras-devel/work/erlang-13.b.2.1-dfsg/lib/debugger/src @warn 1 @option debug_info @option warn_obsolete_guard @outdir ../ebin @files dbg_wx_mon.erl
As a point of reference, the guy that submitted the package can compile it in 8 hours on his N900!.


-Jeff

hypnotik 2009-12-08 16:57

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by sjgadsby (Post 416842)
"Extras repository process definition" in the wiki may answer some of your questions.

And it is not required that an application be compiled by the autobuilder to be included in Extras. That's only a requirement for "free", and there's also "non-free" for closed source software.*

* Free as freedom, not as in beer.

Okay, this makes sense now. Thanks.

javispedro 2009-12-08 17:03

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by jebba (Post 416852)
I also saw in IRC that the build box is qemu-arm

Isn't it sbox+sbdmock? It will use qemu-arm-user _only_ for build tools that are not in any devkit/toolchain. That doesn't include C/C++ compilers, but of course may include Erlang compilers.

More hardware won't fix this (but will help). Allowing to upload new devkits to the autobuilder would fix that, but would open another can of worms, so...

jebba 2009-12-08 17:24

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by javispedro (Post 416874)
Isn't it sbox+sbdmock? It will use qemu-arm-user _only_ for build tools that are not in any devkit/toolchain. That doesn't include C/C++ compilers, but of course may include Erlang compilers.

I was basing it simply on this:

Quote:

homeasvs: X-Fade, are the build machines using qemu-arm ?
X-Fade: yes
http://mg.pov.lt/maemo-irclog/%23mae...12-08.log.html

Also, fwiw, he's building erlang itself, not building something with erlang.

javispedro 2009-12-08 17:42

Re: Want more apps? Vote for this bug
 
Note that his answer and mine are compatible :)

jebba 2009-12-09 09:30

Re: Want more apps? Vote for this bug
 
Update: that erlang build i mentioned...is still running...

jolouis 2009-12-09 14:59

Re: Want more apps? Vote for this bug
 
While I agree that there are serious issues with the build system (especially since Fremantle came online... and it's basically trashing everything because it's being overwhelmed), I've heard that Nokia is also providing several new servers along with a completely overhauled/fixed build setup so that things will be faster. My understanding of it right now is that EVERYTHING (Maemo.org stuff, autobuilder for Chinook, Diablo, Fremantle, Garage, etc) are running off of a single server. That poor little server!

However in the mean time the argument to say "the autobuilder is preventing more applications" is in my mind not accurate at all. Okay, so let's say worst case scenario your app takes 2 days to build in autobuilder... If that's your product release/app release, then 2 extra days for people to wait doesn't exactly mean "there are less apps available because of it". Sure things get backed up a bit, but you're still talking about final releases here. I think the bigger problem is that many people are using autobuilder as their "testing compiler" instead of compiling locally.

For example, when I build a new version of one of my apps, I'll compile locally, test it on my device to make sure it installs/uninstalls properly.. then I'll upload the compiled .deb to the project Garage page, and post links for others to "test install" with. Once they say it's good to go and there are no major problems/changes to be made, THEN I submit to autobuilder... sure it takes a little bit for autobuilder to process and things to show up in extras, but after you finish writing a commerical application it takes a LOT MORE time to get that application published and out to store shelves...

So should things be faster... yea definitely... is the fact that things are slower than ideal holding back the whole community and development process? No way...

jebba 2009-12-09 15:34

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by jolouis (Post 418969)
However in the mean time the argument to say "the autobuilder is preventing more applications" is in my mind not accurate at all. Okay, so let's say worst case scenario your app takes 2 days to build in autobuilder... If that's your product release/app release, then 2 extra days for people to wait doesn't exactly mean "there are less apps available because of it". Sure things get backed up a bit, but you're still talking about final releases here. I think the bigger problem is that many people are using autobuilder as their "testing compiler" instead of compiling locally.

Well mine compiled locally fine in the /scratchbox (I was building asterisk, fwiw) but didn't build in the autobuilder. There are always subtleties and the autobuilder is not identical to the scratchbox. Take a look here and you can see how many FAILS or other errors there are:

https://garage.maemo.org/pipermail/e...er/thread.html

I bet you *all* of those devs built their packages locally, to be honest.

It also does hold things up for more than just two days because you lose momentum. If it took 15 minutes to find out your build failed, you continue on with the project; if it takes you a couple days, well, you've lost all that mindspace and by then 50 other things have come flying at you to work on. It's not just two days wait, it disturbs a clean workflow. I've decided to not bother packaging on there until things get sorted out because it's agonizing to wait, heh.

That and the fact that you can't see any live build logs (like fedora does, for example), so there's no real way to know what state your package is in either.

Anyway, more boxes is obviously going to help. Hopefully they're huge.

-Jeff

jebba 2009-12-09 15:35

Re: Want more apps? Vote for this bug
 
Oh, and by the way, erlang is STILL building.

jebba 2009-12-10 13:39

Re: Want more apps? Vote for this bug
 
Erlang finished! It only took two days, 18 hours:

Code:

[2009-12-07 19:55:04] Processing package erlang 13.b.2.1-dfsg-2. Uploader: thomasvs, builder: builder1
[2009-12-07 19:55:13] Building erlang 13.b.2.1-dfsg-2 for target 'maemo-fremantle-armel-extras-devel'
[2009-12-10 10:44:35] OK
[2009-12-10 10:44:53] Building erlang 13.b.2.1-dfsg-2 for target 'maemo-fremantle-i386-extras-devel'
[2009-12-10 13:22:11] OK
[2009-12-10 13:22:23] Signing build results
[2009-12-10 13:22:24] erlang 1:13.b.2.1-dfsg-2 has been queued for loading into fremantle extras-devel repository


jolouis 2009-12-10 15:23

Re: Want more apps? Vote for this bug
 
Quote:

Well mine compiled locally fine in the /scratchbox (I was building asterisk, fwiw) but didn't build in the autobuilder. There are always subtleties and the autobuilder is not identical to the scratchbox. Take a look here and you can see how many FAILS or other errors there are.
The biggest difference I find between scratchbox and autobuilder is that in scratchbox you're not necessarily building a package "from nothing", where as on the autobuilder you are. For example, the first few times I built a package it would compile locally, but when uploading to autobuilder it failed because my source package didn't have "depends" setup properly (it wasn't an issue locally because I already had the packages installed locally; autobuilder doesn't do that though).

What I ended up doing (and found to be the most helpful for troubleshooting/test building) was to get a clean SDK virtual image, and use that as my "local autobuilder"; never install anything on it, never use it for actual devel, but only for testing my source packages to see if they would build on a clean platform. Definitely helped me resolve my packaging problems... should we have to do this? Heck no... I think it's more an issue with the SDK not including that type of "clean build" functionality for testing than anything else though...

Anyways, still looking forward to faster build times on Maemo servers, as I agree completely, delays do tend to take a bit of "the wind out from under you".

Thanks!

-Rob

jebba 2009-12-10 16:08

Re: Want more apps? Vote for this bug
 
Ya, like Fedora has mock so you can simply do a `mock --clean` to get a clean build environment. With scratchbox you pretty much have to blow it out and start over.

I'm investigating sbdmock now.

-Jeff

qgil 2009-12-10 19:55

Re: Want more apps? Vote for this bug
 
If you want more apps you can give a hand in Extras-testing: http://wiki.maemo.org/Extras-testing

jebba 2009-12-19 20:22

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by qgil (Post 421472)
If you want more apps you can give a hand in Extras-testing: http://wiki.maemo.org/Extras-testing

But that has the same problem. Even trying to get an app promoted into extras-testing takes forever. http://maemo.org/packages is dog slow...

jebba 2009-12-20 13:07

Re: Want more apps? Vote for this bug
 
Build server has been out for 14+ hours.

No one has posted anywhere that I can see that they are even aware of the outage.

Apparently it's not a 24/7/365 setup...

Really shoots the weekend when you are hoping to get things built. It creates distractions, mis-directed energy and de-motivating frustration.

A couple days ago, before the current outage, I had a package built. I went to the page to get it into -testing and it just sat there with a spinning cursor. I went to downtown central Buenos Aires, in rush hour, had a meeting, came back (still rush hour) and the thing was *still* spinning. Conclusion?

The servers are slower than a traffic jam in Buenos Aires.

Gah.

-Jeff

jebba 2009-12-20 13:29

Re: Want more apps? Vote for this bug
 
Apparently Nokia admins post updates to this obscure channel:

http://www.qaiku.com/channels/show/maemork/

VDVsx 2009-12-20 14:25

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by jebba (Post 435268)
Apparently Nokia admins post updates to this obscure channel:

http://www.qaiku.com/channels/show/maemork/

That's not a obscure channel, the channel exist for some time now and was properly advertised, can be reached from the wiki front page, and is linked to the monthly sprint tasks assigned to the maemo.org team.
For e.g: http://wiki.maemo.org/Maemo.org_Sprints/December_09

jebba 2009-12-20 14:50

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by VDVsx (Post 435299)
That's not a obscure channel, the channel exist for some time now and was properly advertised, can be reached from the wiki front page, and is linked to the monthly sprint tasks assigned to the maemo.org team.
For e.g: http://wiki.maemo.org/Maemo.org_Sprints/December_09

It's not linked on the front wiki page. The *only* place it's linked to from the wiki is the sprint page, buried at the bottom.

Is that "properly advertised"?

Have you seen how much investigation I've done of this issue? Can't you see I've obviously read *tons* of the wiki and other maemo docs and *finally* stumbled upon this because it was mentioned in IRC? I bet 99% of devs have no idea about the channel.

Even on that #maemork channel it says nothing about the current outage. It mentions some build server may be ready Monday. Great. So is the current outage a planned outage? No mention. Is he even aware of the current outage?

Regardless, the point is that we waste our time on this **** instead of actually packaging applications.

-Jeff

DrWilken 2009-12-20 15:06

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by VDVsx (Post 435299)
That's not a obscure channel, the channel exist for some time now and was properly advertised, can be reached from the wiki front page, and is linked to the monthly sprint tasks assigned to the maemo.org team.
For e.g: http://wiki.maemo.org/Maemo.org_Sprints/December_09

There's a link to current month's sprint on the Maemo.org Sprints front page but it points to August sprint -> http://wiki.maemo.org/Maemo.org_sprints.

I tried editing it but apparently couldn't...

VDVsx 2009-12-20 15:25

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by jebba (Post 435312)
It's not linked on the front wiki page. The *only* place it's linked to from the wiki is the sprint page, buried at the bottom.

As I said this channel is associate with the sprint work, so try under "hot topics", third link. Don't have too much expectations about the things posted there, because they're mostly related to the tasks for each spring and some BAU work.

Quote:

Originally Posted by jebba (Post 435312)
Have you seen how much investigation I've done of this issue? Can't you see I've obviously read *tons* of the wiki and other maemo docs and *finally* stumbled upon this because it was mentioned in IRC? I bet 99% of devs have no idea about the channel.

Well, for the devs that joined the community a month or two ago, you might be right, but you know the community is very big and we have a lot of things, don't expect to learn everything in a few weeks, and we can't put everything that we have in the front page of maemo.org.

Quote:

Originally Posted by jebba (Post 435312)
Even on that #maemork channel it says nothing about the current outage. It mentions some build server may be ready Monday. Great. So is the current outage a planned outage? No mention. Is he even aware of the current outage?

This channel is not intended to announce these kind of things, normally those announcements happen in the MLs, but your're right they are missing a lot in the last weeks, but I've to warning you that this is a free service offer to the community, and as you know we're getting new servers (again for free), so expect outage in the next days.

VDVsx 2009-12-20 15:26

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by DrWilken (Post 435320)
There's a link to current month's sprint on the Maemo.org Sprints front page but it points to August sprint -> http://wiki.maemo.org/Maemo.org_sprints.

I tried editing it but apparently couldn't...

In the front page: Hot topics -> Current Sprint

jebba 2009-12-20 15:49

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by VDVsx (Post 435330)
...and as you know we're getting new servers (again for free), so expect outage in the next days.

Folks! You've heard it here: just look for comment twenty-seven in a thread linked from the front page of maemo.org linked to talk.maemo.org linked to applications forum to find out about the outage in the "next days"! Everything can't be posted to the front page, you see.

Is there any more info you can point to about this outage? If you know something about it, why not post it to the -devel mailing list or something reasonable?

Also this "for free" thing is a bit disingenuous. That's like Red Hat saying to the Fedora community "hey, you're getting this for free STFU".... I mean, this is greatly in Nokia's interest--they aren't being Mother Teresa here...

-Jeff

jebba 2009-12-20 15:55

Re: Want more apps? Vote for this bug
 
Woo hoo!

The builder is running again. :)

javispedro 2009-12-20 16:16

Re: Want more apps? Vote for this bug
 
Do you know you can test your apps WITHOUT the autobuilder, do you? Just asking.

tekojo 2009-12-20 16:21

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by jebba (Post 435346)
Also this "for free" thing is a bit disingenuous. That's like Red Hat saying to the Fedora community "hey, you're getting this for free STFU".... I mean, this is greatly in Nokia's interest--they aren't being Mother Teresa here...

-Jeff

No Nokia is not mother Teresa, but neither is it telling anyone in the community to shut up either. The idea is that Nokia works together with the community to make maemo.org a good place to be.

As for the new hardware.
There has been a lot of work in both getting new hardware and setting it up. Just be patient a small while more. No promises before Christmas (everyone wants to eat Christmas lunch without watching the server stats on an N900 under the table), but services will start moving to new hardware soon.

The downside is that setting up causes further slowness on the old servers as they need to be copied and synced to the new ones. The decision was not to shut down for a week to do that, but try and keep things running all the time.

The people who do this work (set up and run maemo.org) are not Nokia employees, they are community members who get sponsored to do this work.

jebba 2009-12-20 16:22

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by javispedro (Post 435375)
Do you know you can test your apps WITHOUT the autobuilder, do you? Just asking.

Yes, and I do. It's much easier for *other* people to test them when they are in the maemo repositories though.

I have my own repository set up here:

http://www.freemoe.org/users/jebba/README

-Jeff

VDVsx 2009-12-20 16:22

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by jebba (Post 435346)
Is there any more info you can point to about this outage? If you know something about it, why not post it to the -devel mailing list or something reasonable?

I'm not part of the maemo.org team and I'm not payed by Nokia, so these kind of announcements are not my job, unless someone ask me to do it. If you read carefully my post you can see that I agree with you in the lack of announcements, I already raised my voice, but you can also do it in the MLs, since I suspect that most of the people responsible for the servers don't read TMO in a regular basis.

As for the complains a bit more of patience and gratitude is welcome, we're in the same boat here, those kind of problems are not normal and should be fixed soon, our infrastructure and resources is too small for the community growth, patience please.

twaelti 2009-12-20 21:53

Re: Want more apps? Vote for this bug
 
Jebba: please join the maemo-developers mailing list if you haven't yet. You will like it.

jebba 2009-12-20 22:19

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by twaelti (Post 435738)
Jebba: please join the maemo-developers mailing list if you haven't yet. You will like it.

Ya, just actually subscribed. I have been reading the archives though.

Thanks,

-Jeff

DrWilken 2009-12-22 08:29

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by VDVsx (Post 435332)
In the front page: Hot topics -> Current Sprint

It's been fixed now... ;)

As I wrote I would have edited it myself if I could (I too would like to contribute to the community in any way I can, given the time)... :)

VDVsx 2009-12-22 12:05

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by DrWilken (Post 437270)
It's been fixed now... ;)

As I wrote I would have edited it myself if I could (I too would like to contribute to the community in any way I can, given the time)... :)

You can edit the wiki, even without log in.

DrWilken 2009-12-22 13:12

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by VDVsx (Post 437410)
You can edit the wiki, even without log in.

I apparently didn't notice the EDIT link on the right (for the whole page), but only the edit links on each section... :rolleyes:

jebba 2010-01-01 14:12

Re: Want more apps? Vote for this bug
 
Quote:

Originally Posted by jolouis (Post 418969)
However in the mean time the argument to say "the autobuilder is preventing more applications" is in my mind not accurate at all. Okay, so let's say worst case scenario your app takes 2 days to build in autobuilder... If that's your product release/app release, then 2 extra days for people to wait doesn't exactly mean "there are less apps available because of it". Sure things get backed up a bit, but you're still talking about final releases here.

It's certainly been more than two days. I've been trying on & off to get something built or even uploaded. One time it did make it through the build but somehow never quite made it to maemo.org/packages--only one subpackage fully appeared, the others never did. I tried over & over to merely upload the thing. It has failed in the builder a number of times though through no problem in the packaging just because something else was going on with the builder. With a functioning system I would have uploaded far more packages by now. /me trying again...

-Jeff


All times are GMT. The time now is 23:57.

vBulletin® Version 3.8.8