10:46 AM
alastairp
the main drive is resyncing (probably because of reallocated bad sectors)
10:46 AM
this is going to affect the speed of the dumps (and the dumps will affect the speed of the resync)
10:47 AM
12 days to finish the resync
10:47 AM
iliekcomputers
okay, so they should be a bit faster on frank then.
10:48 AM
alastairp
what disks does frank have?
10:48 AM
iliekcomputers
let me check
10:49 AM
CatQuest
I'm going out for a bit, but LordSputnik, pong me when you have a test ready for me :D
10:50 AM
iliekcomputers
10:51 AM
10:51 AM
alastairp
right, normal spinning disks, then
10:51 AM
iliekcomputers
yes
10:51 AM
7200 rpm
10:53 AM
iliekcomputers was on 5400 rpm hdds until a few months ago
10:53 AM
:/
10:58 AM
ruaok
4TB is SSD is quite expensive. :(
10:58 AM
*of
10:59 AM
alastairp
I can imagine
10:59 AM
iliekcomputers
lolyea
11:09 AM
another 30GB file done and being compressed rn
11:09 AM
alastairp
mmm. faster??
11:11 AM
Nyanko-sensei joined the channel
11:12 AM
iliekcomputers
this is the second one, I don't think so, I think it took around the same time.
11:12 AM
D4RK-PH0ENiX has quit
11:14 AM
clarjon1 joined the channel
11:14 AM
clarjon1 has quit
11:16 AM
Nyanko-sensei has quit
11:31 AM
Mr_Monkey has quit
11:32 AM
bhargav joined the channel
11:32 AM
bhargav is now known as Guest27381
11:33 AM
D4RK-PH0ENiX joined the channel
11:35 AM
bukwurm joined the channel
11:37 AM
Mr_Monkey joined the channel
11:39 AM
Guest27381 has quit
11:40 AM
bhargav_prakash joined the channel
11:41 AM
bukwurm
11:41 AM
11:42 AM
I think postgres version is causing issue here.
11:42 AM
bhargav_prakash_ joined the channel
11:42 AM
bhargav_prakash_ has quit
11:43 AM
Later tests which fail are:
11:43 AM
`insert into "bookbrainz"."editor_type" ("id", "label") values ($1, $2) returning "id" - relation "bookbrainz.editor_type" does not exist[0m[90m error: relation "bookbrainz.editor_type" does not exist`
11:44 AM
I wonder if transaction is aborted then how partial tables are created and remaining tests pass
11:47 AM
Mr_Monkey has quit
11:54 AM
bhargav_prakash has quit
11:54 AM
bhargav_prakash joined the channel
12:04 PM
Mr_Monkey joined the channel
12:07 PM
Postgres version is 9.6.6, so something else is perhaps the matter.
12:13 PM
LordSputnik
CatQuest: won't be today I'm afraid, had guests over last night and I'm out tonight - but the code is working now and I just need to commit everything and update the server, so maybe I can do that tomorrow night
12:15 PM
CatQuest
:(
12:18 PM
AC`97_ joined the channel
12:19 PM
AC`97_ has quit
13:05 PM
Mr_Monkey
bukwurm Thanks, I'll have a look!
13:37 PM
bhargav_prakash has quit
14:14 PM
outsidecontext has quit
14:34 PM
outsidecontext joined the channel
14:42 PM
14:42 PM
kurianbenoy joined the channel
14:44 PM
I can't figure out where the postgres configuration is in Travis. I think maybe the version 9.6.6 that bukwurm saw is only that of psql rather than the postgres server version, in which case it might just need an update to >9.4
14:49 PM
iw00t21 joined the channel
14:49 PM
iw00t21 has quit
14:53 PM
outsidecontext has quit
14:53 PM
kurianbenoy has quit
15:05 PM
bukwurm
Mr_Monkey: Yes, the gist shared showed the cause of error being jsonb type missing
15:06 PM
*I shared
15:06 PM
jsonb was used to store metadata related to imports
15:07 PM
jsonb support I think is in 9.6+ versions
15:07 PM
15:07 PM
*9.4+
15:07 PM
Mr_Monkey
bukwurm Yes, just confirming and doing a recap. Do you have access to the Travis config?
15:08 PM
bukwurm
Mr_Monkey: No :/
15:09 PM
Mr_Monkey: But I do wonder, if the entire schema creation is done in a single transaction, when it fails how come other tests pass?
15:09 PM
Maybe something to do with tests rather than database setup I guess
15:13 PM
15:14 PM
Mr_Monkey
I'm not familiar enough with the setup yet to venture an educated guess. It looks to me like the schema creation only fails for the last few operations though
15:15 PM
Yeah, I saw that configuration, but there's nothing there that describes the postgres server, so I assume there is some extra config somewhere.
15:15 PM
bukwurm
Mr_Monkey: I am guessing "npm run-script test-ci" is the one
15:16 PM
Mr_Monkey
That's in the bookbrainz-site package.json, and here is what it runs:
15:16 PM
nyc --reporter=lcovonly --reporter=text-summary npm run test
15:17 PM
bukwurm
That's not it then :P
15:21 PM
iliekcomputers
alastairp: 4 files done now.
15:23 PM
alastairp
15:24 PM
Mr_Monkey
Could it be just that? Thanks alastairp, I'll try that.
15:25 PM
alastairp
(not a travis expert)
15:25 PM
bukwurm
alastairp: Ok. Could there any other way to specify postgres version on Travis?
15:25 PM
alastairp
no idea, sorry
15:25 PM
bukwurm
Or for that matter, any other service.
15:25 PM
alastairp: Ok
15:27 PM
Mr_Monkey: As you're trying it, do tell what happens when you mention the version in the .travis.yml file
15:27 PM
:)
15:27 PM
Mr_Monkey
Will do
15:28 PM
bukwurm
👍
15:30 PM
alastairp
15:31 PM
"The Travis CI build environments use version 9.2 by default on Trusty images, but other versions from the official PostgreSQL APT repository are also available."
15:32 PM
bukwurm
That's gotta be it, I think.
15:35 PM
Mr_Monkey
bukwurm & alastairp Boom chacka boom ! all tests passing. Thanks for your help !
15:36 PM
bukwurm
Mr_Monkey: Awesome
15:38 PM
travis-ci joined the channel
15:38 PM
travis-ci
15:38 PM
travis-ci has left the channel
15:38 PM
bukwurm
Mr_Monkey: I think getting webpack integration with module replacement is awesome for the project, it's gonna make development so much easier.
15:40 PM
Awesome work 👍
15:41 PM
Mr_Monkey
It's quite nice indeed ! Currently the recompilation is a bit long for my taste, but I think I can optimize it.
15:42 PM
Using Webpack for production builds I'm still working on, there are a few snags, especially with css/less.
15:43 PM
And thanks :)
15:56 PM
LordSputnik
bukwurm, Mr_Monkey: nice work guys. I did think I specified postgres 9.4 - perhaps for data-js
15:57 PM
Yeah: bookbrainz-data-js/blob/master/.travis.yml
15:57 PM
15:58 PM
We just need to do the same for the site repo
15:58 PM
bukwurm
LordSputnik: I think the confusion due to earlier tests failures due to two versions running complicated the issue
15:58 PM
It only today when I really looked at the logs, to find the jsonb issue
15:59 PM
LordSputnik: Do you recall what was the issue earlier, when you mentioned something about two version causing race condition or something?
16:12 PM
LordSputnik
bukwurm: oh, that turned out to be a missing transaction passed to a bookshelf query
16:13 PM
So it was running outside the transaction
16:55 PM
Mr_Monke_ joined the channel
16:57 PM
Mr_Monkey has quit
17:16 PM
BestSteve joined the channel
17:18 PM
BestSteve has quit
17:20 PM
bukwurm
LordSputnik: Ok
17:25 PM
jwf has quit
17:25 PM
moufl has quit
17:25 PM
CatQuest has quit
17:25 PM
GeneralDiscourse has quit
17:25 PM
dseomn has quit
17:25 PM
CatQuest joined the channel
17:25 PM
dseomn joined the channel
17:29 PM
CatQuest has quit
17:29 PM
CatQuest joined the channel
17:36 PM
badpixel9 joined the channel
17:36 PM
badpixel9 has quit
17:55 PM
reosarevok
ruaok: see Doug's email, might be interesting :)
17:55 PM
yokel joined the channel
17:55 PM
yokel has quit
17:55 PM
yokel joined the channel
17:58 PM
yokel has quit
18:00 PM
yokel joined the channel
18:00 PM
yokel has quit
18:00 PM
yokel joined the channel
18:08 PM
Dr-Flay joined the channel
18:22 PM
UmkaDK_ has quit
18:50 PM
Freso
Sounds like Doug should be put in contact with the people who previously talked about a similar project, maybe?
18:54 PM
Chris Mendez and Mickaël Arcos.
18:57 PM
19:01 PM
ephemer0l joined the channel
19:01 PM
ephemer0l has quit
19:01 PM
ephemer0l joined the channel
19:02 PM
moufl joined the channel
19:04 PM
ephemer0l is now known as GeneralDiscourse
19:05 PM
reosarevok
I can send him that at least :)
19:12 PM
Freso
I can also create a follow-up e-mail introducing the two others maybe?
19:22 PM
reosarevok
Feel free! :)