#metabrainz

/

      • bitmap
        ah I was thinking of plugins
      • 2020-05-04 12501, 2020

      • alastairp
        yvanzo: yes, that kind of label
      • 2020-05-04 12517, 2020

      • bitmap
        for jenkins itself I just rebuild the image and restart the container
      • 2020-05-04 12520, 2020

      • alastairp
        cool. I see the start script for it. just runs on :master I see
      • 2020-05-04 12531, 2020

      • bitmap
        yep
      • 2020-05-04 12559, 2020

      • bitmap
        there are supposed to be some steps in the execute shell config for each project to clean up unused images, but I don't think it works well
      • 2020-05-04 12503, 2020

      • alastairp
        ok, I'll try that this week. I see a few musicbrainz projects run on jenkins, I hope I don't break it
      • 2020-05-04 12509, 2020

      • yvanzo
        alastairp: You can probably add build args here: https://github.com/metabrainz/acousticbrainz-serv…
      • 2020-05-04 12519, 2020

      • alastairp
        there's definitely none in AcousticBrainz
      • 2020-05-04 12530, 2020

      • alastairp
        let me do an audit of existing projects and add them if necessary
      • 2020-05-04 12532, 2020

      • yvanzo
        to be fair, there are none in most of our projects
      • 2020-05-04 12534, 2020

      • bitmap
        hmm weird
      • 2020-05-04 12551, 2020

      • alastairp
        jenkinsbuildjenkinsacousticbrainzserver456_acousticbrainz latest 6d486c7b5238 12 months ago 1.36GB
      • 2020-05-04 12554, 2020

      • bitmap
      • 2020-05-04 12507, 2020

      • alastairp
        jenkinsbuildjenkinsmetabrainzorg449_db_test latest b42127213e96 12 months ago 264MB
      • 2020-05-04 12509, 2020

      • bitmap
        I modified them for musicbrainz-selenium, which may have actually fixed things
      • 2020-05-04 12525, 2020

      • alastairp
        OK, I'll look at what's there and come back if I have any questions
      • 2020-05-04 12536, 2020

      • yvanzo
      • 2020-05-04 12500, 2020

      • yvanzo
      • 2020-05-04 12508, 2020

      • alastairp
        does anything else important run on williams? test.mb.org and ftp? just in case I break docker
      • 2020-05-04 12544, 2020

      • bitmap
        mb json dumps run there
      • 2020-05-04 12559, 2020

      • bitmap
        but I'll get notificatiosn if those break :)
      • 2020-05-04 12504, 2020

      • bitmap
        notifications*
      • 2020-05-04 12523, 2020

      • alastairp
        ok, cool
      • 2020-05-04 12525, 2020

      • alastairp
        thanks
      • 2020-05-04 12526, 2020

      • yvanzo
        test.mb.o is meant to be broken.
      • 2020-05-04 12544, 2020

      • bitmap
        and yeah, looks like for the selenium config I just used a hardcoded container name that it rm -fv's after each run
      • 2020-05-04 12555, 2020

      • yvanzo
        williams runs mb search dumps too but only twice a week (next time on Wednesday)
      • 2020-05-04 12555, 2020

      • bitmap
        whereas the meb one tries to do something fancy with the build tag
      • 2020-05-04 12545, 2020

      • bitmap
        since it doesn't run multiple builds simultaneously anyway the fixed name should be fine
      • 2020-05-04 12553, 2020

      • rohitdandamudi joined the channel
      • 2020-05-04 12502, 2020

      • alastairp
        the images have the jenkins build number in them anyway, so this will always be unique to the specific build, you're right that it might just be easier to remove it based on its name
      • 2020-05-04 12534, 2020

      • reosarevok
        navap: your PR seems fine, if you are around and can be bothered then maybe you can also add the MBS ticket number to the commit title (as with the PR title, "MBS-10804: Remove redundant header with editor name"), but if not I'll merge it in a bit :)
      • 2020-05-04 12535, 2020

      • BrainzBot
        MBS-10804: Edit page displays a redundant user header https://tickets.metabrainz.org/browse/MBS-10804
      • 2020-05-04 12540, 2020

      • reosarevok
        Not a big deal
      • 2020-05-04 12504, 2020

      • TOPIC: MetaBrainz Community and Development channel | MusicBrainz non-development: #musicbrainz | GSoC students start here: https://bit.ly/2NUaxgb | Channel is logged; see https://musicbrainz.org/doc/IRC for details | Meeting agenda: Reviews, PG extensions (bitmap)
      • 2020-05-04 12511, 2020

      • alastairp
        iliekcomputers: remind me how you make releases on github after making a new version?
      • 2020-05-04 12559, 2020

      • alastairp
        git tag $version; git push --tags, then go to releases -> draft new release, use that tag as the tag version?
      • 2020-05-04 12508, 2020

      • iliekcomputers
      • 2020-05-04 12515, 2020

      • iliekcomputers
        Yep
      • 2020-05-04 12534, 2020

      • iliekcomputers
        Actually, I realized recently that you don't necessarily need to tag yourself either
      • 2020-05-04 12535, 2020

      • alastairp
        and is it github, or this release-drafter that fills in the release with PRs?
      • 2020-05-04 12556, 2020

      • alastairp
        right, if you make the release from the interface, it'll make the tag?
      • 2020-05-04 12503, 2020

      • iliekcomputers
        Yep
      • 2020-05-04 12504, 2020

      • alastairp
        you use a lightweight tag, right?
      • 2020-05-04 12524, 2020

      • alastairp
        (git tag, not git tag -m)
      • 2020-05-04 12524, 2020

      • iliekcomputers
        Release drafter fills in the PRs
      • 2020-05-04 12532, 2020

      • iliekcomputers
        Yeah, git tag
      • 2020-05-04 12546, 2020

      • alastairp
        how did you fill in the PRs before?
      • 2020-05-04 12544, 2020

      • iliekcomputers
        By hand. :/
      • 2020-05-04 12551, 2020

      • alastairp
        oh, that's fun
      • 2020-05-04 12556, 2020

      • alastairp
        might install release-drafter then :)
      • 2020-05-04 12501, 2020

      • iliekcomputers
        Heh, yeah :D
      • 2020-05-04 12520, 2020

      • shivam-kapila
        ruaok: The Travis tests are passing. I am unable to run tests due to a different error
      • 2020-05-04 12509, 2020

      • shivam-kapila
        Can you once run `./develop.sh timescale`
      • 2020-05-04 12551, 2020

      • BrainzGit
        [acousticbrainz-server] release v-2020-05-04.0 has been published by alastair: https://github.com/metabrainz/acousticbrainz-serv…
      • 2020-05-04 12543, 2020

      • yokel has quit
      • 2020-05-04 12511, 2020

      • yokel joined the channel
      • 2020-05-04 12513, 2020

      • ruaok
        shivam-kapila: `psql: FATAL: password authentication failed for user "listenbrainz_ts"`
      • 2020-05-04 12514, 2020

      • shivam-kapila
        Change admin.timescale.drop_db.sq to this and then run `./develop.sh init_ts_db -f` once https://www.irccloud.com/pastebin/4D601YhA/
      • 2020-05-04 12504, 2020

      • shivam-kapila
        I guess you need to build timescale tables with listenbrainz_ts after dropping old ones
      • 2020-05-04 12545, 2020

      • shivam-kapila
        Sorry the command is `./develop.sh manage init_ts_db -f`
      • 2020-05-04 12558, 2020

      • yvanzo
        alastairp, bitmap: any clue about _reliably_ retrieving a PGP key in a Dockerfile?
      • 2020-05-04 12526, 2020

      • bitmap
        I've just put them in the repo and COPY it in
      • 2020-05-04 12504, 2020

      • yvanzo
      • 2020-05-04 12529, 2020

      • ruaok
        `FATAL: database "timescale_lb" does not exist`
      • 2020-05-04 12543, 2020

      • cloverfield has quit
      • 2020-05-04 12547, 2020

      • yvanzo
        But it does not seem reliable enough, next step would be to query a different server at each attempt, might be overkill.
      • 2020-05-04 12553, 2020

      • yvanzo
        bitmap: yup, but these ones are changed too frequently.
      • 2020-05-04 12520, 2020

      • bitmap
        oh, the yarn one
      • 2020-05-04 12524, 2020

      • shivam-kapila
        ruaok: Can you send the complete logs?
      • 2020-05-04 12546, 2020

      • bitmap
        https://github.com/yarnpkg/yarn/issues/7866 might have some commands that work
      • 2020-05-04 12500, 2020

      • ruaok
      • 2020-05-04 12509, 2020

      • cloverfield joined the channel
      • 2020-05-04 12511, 2020

      • yvanzo
        bitmap: Thanks but it just uses another keyserver, which might be more reliable but the same error can occur as well. Will use that one and loop over servers on retry.
      • 2020-05-04 12512, 2020

      • bitmap
        how often do the keyservers fail?
      • 2020-05-04 12507, 2020

      • yvanzo
        not often fortunately, it never failed in CI for now, but it happens: https://github.com/metabrainz/musicbrainz-docker/…
      • 2020-05-04 12530, 2020

      • shivam-kapila
        ruaok: Looks like it did what I wanted. Please run `./develop.sh manage init_ts_db --create-db`
      • 2020-05-04 12551, 2020

      • shivam-kapila
        If it succeeds we have the new configs for timescale then
      • 2020-05-04 12551, 2020

      • alastairp
        I recall that I had some weird issues with this keyserver on docker when building python images
      • 2020-05-04 12504, 2020

      • alastairp
        but now I can't remember what the actual issue was and how I fixed it, sorry
      • 2020-05-04 12515, 2020

      • ruaok
      • 2020-05-04 12520, 2020

      • alastairp
        it just seemed like it was broken and I went around in circles trying to fix it, then suddenly it was fine
      • 2020-05-04 12503, 2020

      • shivam-kapila
        ruaok: Going good. Revert the drop_db file to listenbrainz_ts and run `/develop.sh manage init_ts_db -f\`
      • 2020-05-04 12521, 2020

      • Zastai|2 joined the channel
      • 2020-05-04 12528, 2020

      • shivam-kapila
        Not the \ please
      • 2020-05-04 12501, 2020

      • ruaok
      • 2020-05-04 12530, 2020

      • shivam-kapila
        Seems like you havent copied the config
      • 2020-05-04 12532, 2020

      • shivam-kapila
        `cp listenbrainz/config.py.sample listenbrainz/config.py`
      • 2020-05-04 12507, 2020

      • shivam-kapila
        Then try `/develop.sh manage init_ts_db -f` again
      • 2020-05-04 12538, 2020

      • ruaok
        shit, you're right sorry. :(
      • 2020-05-04 12505, 2020

      • shivam-kapila
        I remembered because I wasted 3 hours on that.
      • 2020-05-04 12513, 2020

      • Zastai has quit
      • 2020-05-04 12518, 2020

      • Zastai|2 is now known as Zastai
      • 2020-05-04 12534, 2020

      • cloverfield has quit
      • 2020-05-04 12538, 2020

      • shivam-kapila
        Now either your tests will pass or you will get the messybrainz error I am getting
      • 2020-05-04 12512, 2020

      • ruaok
        tests looking much better now.
      • 2020-05-04 12524, 2020

      • shivam-kapila
        Do some pass?
      • 2020-05-04 12557, 2020

      • ruaok
        looks good so far.
      • 2020-05-04 12551, 2020

      • ruaok
        test.sh all passed.
      • 2020-05-04 12510, 2020

      • shivam-kapila
        Nice. Now can you please help me. Mine are crashing :(
      • 2020-05-04 12530, 2020

      • ruaok
        of course, turn about is fair play. gist me your error.
      • 2020-05-04 12539, 2020

      • cloverfield joined the channel
      • 2020-05-04 12523, 2020

      • shivam-kapila
      • 2020-05-04 12532, 2020

      • ruaok
        the messybrainz repo is being merged (has merged) into the listenbrainz repo.
      • 2020-05-04 12543, 2020

      • ruaok
        I wonder if this is related -- still, why am I not getting that?
      • 2020-05-04 12503, 2020

      • iliekcomputers
        shivam-kapila: build you containers again
      • 2020-05-04 12509, 2020

      • iliekcomputers
        The test ones
      • 2020-05-04 12526, 2020

      • iliekcomputers
        The timescale branch needs to clone messybrainz while master doesn't
      • 2020-05-04 12537, 2020

      • ruaok
        yeah, we're going to need to do another rebase before too long to take into account the messybrainz changes.
      • 2020-05-04 12559, 2020

      • ruaok
        I'm just waiting for the new LB dump so I can finish the importer.
      • 2020-05-04 12528, 2020

      • shivam-kapila
        iliekcomputers: How to rebuild test containers? I tried ./test.sh -d but I think I am wrong
      • 2020-05-04 12546, 2020

      • iliekcomputers
        Not sure if we have a command for iy
      • 2020-05-04 12512, 2020

      • ruaok
        shivam-kapila: try `docker ps --all` and see if there are lingering containers.
      • 2020-05-04 12522, 2020

      • ruaok
        if you see anything LB related, nuke those containers.
      • 2020-05-04 12540, 2020

      • iliekcomputers
        `docker-compose -f docker/docker-compose.test.yml -p listenbrainztest build`
      • 2020-05-04 12555, 2020

      • shivam-kapila
        Thanks iliekcomputers. We might need a command `./test.sh -b` someday for this.
      • 2020-05-04 12518, 2020

      • yvanzo
        bitmap: this is basically what iliekcomputers did with https://github.com/metabrainz/docker-node/blob/ma… :)
      • 2020-05-04 12507, 2020

      • bitmap
        maybe we can add a helper script to the base-image for that
      • 2020-05-04 12509, 2020

      • iliekcomputers
        shivam-kapila: i'd be happy to take a pull request
      • 2020-05-04 12510, 2020

      • iliekcomputers
        :)
      • 2020-05-04 12524, 2020

      • shivam-kapila
        Okay I will make a PR
      • 2020-05-04 12558, 2020

      • alastairp
        oh yeah, I added test.sh -b to my script
      • 2020-05-04 12501, 2020

      • yvanzo
        There might be network issues depending on the Docker host too, so hkp://p80.pool.sks-keyservers.net:80 seems more reliable.
      • 2020-05-04 12532, 2020

      • alastairp
        biggest reason it wasn't there originally is that ruaok was happy to just run ./test.sh without -u when we first wrote it. when doing a full test it'll build as part of the step
      • 2020-05-04 12521, 2020

      • alastairp
        but if more people are doing -u / lots of tests / -d, then adding a build step might be nice. It's a bit opaque that this might be the error if you don't know how the infrastructure works though
      • 2020-05-04 12522, 2020

      • cloverfield has quit
      • 2020-05-04 12552, 2020

      • cloverfield joined the channel
      • 2020-05-04 12512, 2020

      • shivam-kapila
        iliekcomputers: Created LB-564
      • 2020-05-04 12513, 2020

      • BrainzBot
        LB-564: Import user's loved tracks from Last.fm https://tickets.metabrainz.org/browse/LB-564
      • 2020-05-04 12537, 2020

      • iliekcomputers
        thanks
      • 2020-05-04 12525, 2020

      • ruaok
      • 2020-05-04 12524, 2020

      • alastairp
        nope. did you share it to me?
      • 2020-05-04 12527, 2020

      • cloverfield has quit
      • 2020-05-04 12526, 2020

      • alastairp
        will start reading it and adding some comments
      • 2020-05-04 12511, 2020

      • shivam-kapila
        Seems like I dont have option to reopen PR. I will make new one for manage scripts.
      • 2020-05-04 12537, 2020

      • shivam-kapila
        ruaok: Should I makke it on master? Since its not dependent on timescale?
      • 2020-05-04 12505, 2020

      • ruaok
        sure.
      • 2020-05-04 12505, 2020

      • cloverfield joined the channel
      • 2020-05-04 12553, 2020

      • ruaok
        alastairp: no posted it here earlier and pinged you.
      • 2020-05-04 12538, 2020

      • alastairp
        ah, didn't see it, sorry!
      • 2020-05-04 12549, 2020

      • iliekcomputers
      • 2020-05-04 12523, 2020

      • shivam-kapila
        iliekcomputers: Thanks for that :)
      • 2020-05-04 12504, 2020

      • iliekcomputers
        can you reopen the PR now?
      • 2020-05-04 12542, 2020

      • ruaok
        alastairp: tranquilo!
      • 2020-05-04 12523, 2020

      • cloverfield has quit
      • 2020-05-04 12508, 2020

      • cloverfield joined the channel
      • 2020-05-04 12537, 2020

      • iliekcomputers
        alastairp: ruaok: I was looking into this: https://tickets.metabrainz.org/browse/LB-511
      • 2020-05-04 12537, 2020

      • BrainzBot
        LB-511: Inconsistent response when submitting playing-now listens
      • 2020-05-04 12554, 2020

      • iliekcomputers