#metabrainz

/

      • zas
        wait
      • 2017-03-29 08833, 2017

      • reosarevok
        Thanks
      • 2017-03-29 08835, 2017

      • zas
        it shows 1.4.1 <--
      • 2017-03-29 08849, 2017

      • zas
        i think the version of Picard website is too new ;)
      • 2017-03-29 08804, 2017

      • ruaok
        lol
      • 2017-03-29 08842, 2017

      • samj1912
        zas: ouch, did we redeploy using the latest image? :P
      • 2017-03-29 08852, 2017

      • zas
        i guess so
      • 2017-03-29 08819, 2017

      • D4RK-PH0ENiX has quit
      • 2017-03-29 08823, 2017

      • samj1912
        ugh.. can we go back to the old image?
      • 2017-03-29 08831, 2017

      • samj1912
        I had kept it for 1.4.1 release :P
      • 2017-03-29 08852, 2017

      • D4RK-PH0ENiX joined the channel
      • 2017-03-29 08854, 2017

      • zas
        running image is 2e0c762e774f
      • 2017-03-29 08829, 2017

      • zas
        weird
      • 2017-03-29 08841, 2017

      • zas
        that's an old image, running on zappa
      • 2017-03-29 08852, 2017

      • samj1912
        we should be running btxkzq6qe6adkc4d3mgye8j
      • 2017-03-29 08859, 2017

      • samj1912
      • 2017-03-29 08802, 2017

      • zas
      • 2017-03-29 08823, 2017

      • zas
        ok, two instances, i guess one has the latest image
      • 2017-03-29 08853, 2017

      • ruaok
        yeah, services we moved elsewhere to get thigns to come back up.
      • 2017-03-29 08853, 2017

      • Gentlecat
      • 2017-03-29 08806, 2017

      • ruaok
        we need to figure out what our procedure for this situation us.
      • 2017-03-29 08811, 2017

      • Gentlecat
        it needs to generate test and coverage reports
      • 2017-03-29 08813, 2017

      • Gentlecat
      • 2017-03-29 08856, 2017

      • ruaok
        I could never get that to work since it generated an error.
      • 2017-03-29 08804, 2017

      • ruaok
        ket me re-enable and see what the error is.
      • 2017-03-29 08800, 2017

      • Gentlecat
      • 2017-03-29 08836, 2017

      • agentsim has quit
      • 2017-03-29 08848, 2017

      • zas
        Ok, one instance of picard website was running on trille, but with a newer image (solution: image tags/versions). I stopped it for now
      • 2017-03-29 08806, 2017

      • zas
        So the issue with 1.4.1 broken link should be fixed
      • 2017-03-29 08842, 2017

      • ruaok
        twatted.
      • 2017-03-29 08855, 2017

      • d4rkie joined the channel
      • 2017-03-29 08807, 2017

      • lazka joined the channel
      • 2017-03-29 08805, 2017

      • D4RK-PH0ENiX has quit
      • 2017-03-29 08808, 2017

      • zas
        samj1912: https://github.com/metabrainz/picard-website/comm… should be the last version with 1.4.0 links right ?
      • 2017-03-29 08849, 2017

      • zas
        we need to tag on gtihub, and create tagged images so we ensure deployed images are the correct ones.
      • 2017-03-29 08841, 2017

      • samj1912
        zas: yes
      • 2017-03-29 08830, 2017

      • zas
        I'm tagging and we'll make change on docker hub for the tagged image to be built
      • 2017-03-29 08814, 2017

      • ruaok
        Gentlecat: py.test: error: argument --cov-report: invalid choice: 'xml:/data/coverage.xml' (choose from 'term', 'term-missing', 'annotate', 'html', 'xml', '')
      • 2017-03-29 08818, 2017

      • ruaok
        how do I fix this?
      • 2017-03-29 08807, 2017

      • Gentlecat
        pytest and pytest-cov packages might be outdated
      • 2017-03-29 08815, 2017

      • Gentlecat
      • 2017-03-29 08800, 2017

      • ruaok
        pytest==3.0.4
      • 2017-03-29 08800, 2017

      • ruaok
        pytest-cov==2.4.0
      • 2017-03-29 08807, 2017

      • ruaok
        same as CB, still the same error.
      • 2017-03-29 08840, 2017

      • ruaok bumps coverage
      • 2017-03-29 08855, 2017

      • ruaok
        still no change. :(
      • 2017-03-29 08859, 2017

      • Gentlecat
        can you make a PR with these changes you are making?
      • 2017-03-29 08809, 2017

      • Gentlecat
        it would be easier to debug
      • 2017-03-29 08859, 2017

      • Quesito
        CatQuest: I see your notes! go ahead and utilize another column if you'd like to add more!
      • 2017-03-29 08809, 2017

      • github joined the channel
      • 2017-03-29 08809, 2017

      • github
        [listenbrainz-server] mayhem opened pull request #158: [WIP] Trying to fix the tests for jenkins (master...fix-tests-for-jenkins) https://git.io/vS3ZM
      • 2017-03-29 08809, 2017

      • github has left the channel
      • 2017-03-29 08816, 2017

      • ruaok
        Gentlecat: ^^
      • 2017-03-29 08832, 2017

      • zas
        samj1912: can you check picard website, i tagged last version just before changes for 1.4.1 links as prod, and made changes in deployement scripts accordingly
      • 2017-03-29 08808, 2017

      • samj1912
        zas 👍
      • 2017-03-29 08852, 2017

      • ruaok
        Gentlecat: so the --junit args need to only be in docker compose, not in test.sh?
      • 2017-03-29 08840, 2017

      • Gentlecat
        junitxml and cov-report, yes
      • 2017-03-29 08857, 2017

      • ruaok
        PR updated.
      • 2017-03-29 08808, 2017

      • Gentlecat
      • 2017-03-29 08835, 2017

      • Quesito
        ruaok: tomorrow afternoon works for invoice magic hours...let me know what time work for you
      • 2017-03-29 08829, 2017

      • ruaok
        3pm or 4pm should be fine.
      • 2017-03-29 08847, 2017

      • Gentlecat
        syntax of the compose file might be incorrect
      • 2017-03-29 08831, 2017

      • ruaok
        works in test.sh
      • 2017-03-29 08833, 2017

      • Gentlecat
        not sure if command can be split up with "\"
      • 2017-03-29 08802, 2017

      • ruaok
        I can try removing it and re-pushing...
      • 2017-03-29 08805, 2017

      • Gentlecat
        `ERROR: file not found: --cov-report`
      • 2017-03-29 08845, 2017

      • ruaok
        pushed.
      • 2017-03-29 08853, 2017

      • ruaok
        why wou;dn
      • 2017-03-29 08859, 2017

      • ruaok
        't it get an error locally?
      • 2017-03-29 08842, 2017

      • Guest82819 joined the channel
      • 2017-03-29 08842, 2017

      • Guest82819
        [listenbrainz-server] mayhem closed pull request #157: LB-145: Add artist_msid to data received from api (master...api/missing-artist-msid) https://git.io/vSYAq
      • 2017-03-29 08842, 2017

      • Guest82819 has left the channel
      • 2017-03-29 08843, 2017

      • BrainzBot
        LB-145: No artist_msid present in listens received from API https://tickets.metabrainz.org/browse/LB-145
      • 2017-03-29 08855, 2017

      • Sophist has left the channel
      • 2017-03-29 08803, 2017

      • Sophist joined the channel
      • 2017-03-29 08856, 2017

      • ruaok
        iliekcomputers: looking at LB-139 right now. trying to see what is wrong there
      • 2017-03-29 08856, 2017

      • BrainzBot
        LB-139: User generated data in additional_info field of listens is not returned on call to get_listens in the API https://tickets.metabrainz.org/browse/LB-139
      • 2017-03-29 08807, 2017

      • Gentlecat
        another thing is that no tests run
      • 2017-03-29 08854, 2017

      • ruaok
        at least they all pass, right? :)
      • 2017-03-29 08816, 2017

      • Gentlecat
      • 2017-03-29 08848, 2017

      • ruaok
        add this?
      • 2017-03-29 08848, 2017

      • ruaok
        addopts = --cov=db webserver listenstore redis-consumer
      • 2017-03-29 08811, 2017

      • Gentlecat
        formatting might be different for multiple items
      • 2017-03-29 08812, 2017

      • iliekcomputers
        ruaok: the problem is here as far as i can see https://github.com/metabrainz/listenbrainz-server…
      • 2017-03-29 08832, 2017

      • iliekcomputers
        the listen class has the user generated data but it is not inserted into influx
      • 2017-03-29 08841, 2017

      • ruaok
        iliekcomputers: yeah, I was just laughing at myself. :)
      • 2017-03-29 08809, 2017

      • ruaok
        I now distinctly remember this. if this works, I'll have to sort how to do additional info.
      • 2017-03-29 08835, 2017

      • ruaok
        since fields cannot have sub-fields we need to flatten out the additional_info
      • 2017-03-29 08801, 2017

      • ruaok
        additional_info.subkey1.subkey2 = "value"
      • 2017-03-29 08807, 2017

      • ruaok
        does that make sense?
      • 2017-03-29 08819, 2017

      • iliekcomputers
        ruaok: would just putting a str(additional_info) into a new field be bad?
      • 2017-03-29 08856, 2017

      • ruaok
        as long as it can be parsed, that would be fine.
      • 2017-03-29 08809, 2017

      • kyan has quit
      • 2017-03-29 08810, 2017

      • Gentlecat
        might be able to just use `--cov` without any arguments
      • 2017-03-29 08815, 2017

      • ruaok
        but expanding the keys allows us to query the data in influx.
      • 2017-03-29 08830, 2017

      • ruaok
        Gentlecat: then it might try and run the integration tests as well.
      • 2017-03-29 08835, 2017

      • iliekcomputers
        ah
      • 2017-03-29 08840, 2017

      • ruaok
        which is probably a good thing?
      • 2017-03-29 08845, 2017

      • iliekcomputers
        okay makes sense
      • 2017-03-29 08811, 2017

      • iliekcomputers
        expanding them out is better yes
      • 2017-03-29 08817, 2017

      • Gentlecat
        what you want to run can be specified in py.test command
      • 2017-03-29 08827, 2017

      • Gentlecat
        and it doesn't run anything currently
      • 2017-03-29 08848, 2017

      • Gentlecat
      • 2017-03-29 08858, 2017

      • Gentlecat
        "no tests ran in 0.00 seconds"
      • 2017-03-29 08826, 2017

      • ruaok is confused
      • 2017-03-29 08849, 2017

      • ruaok continues the throwing darts approach
      • 2017-03-29 08844, 2017

      • ruaok
        added the -cov with no args
      • 2017-03-29 08845, 2017

      • Gentlecat
        also note that `inifile:` is empty
      • 2017-03-29 08802, 2017

      • ruaok
        Gentlecat: can you please just fix all of this?
      • 2017-03-29 08829, 2017

      • ruaok
        this back and forth isn't an effective use of your time nor mine.
      • 2017-03-29 08838, 2017

      • D4RK-PH0ENiX joined the channel
      • 2017-03-29 08841, 2017

      • Gentlecat
        I don't know what the problems are
      • 2017-03-29 08852, 2017

      • Gentlecat
        or, rather, solutions
      • 2017-03-29 08800, 2017

      • ruaok
        I have far less of a clue than you do.
      • 2017-03-29 08803, 2017

      • Gentlecat
        I look at the output and help you debug it
      • 2017-03-29 08812, 2017

      • ruaok
        I would have to spend hours reading to catch up on this stuffl.
      • 2017-03-29 08820, 2017

      • ruaok
        you are at least familiar with these things.
      • 2017-03-29 08821, 2017

      • Gentlecat
        same
      • 2017-03-29 08835, 2017

      • ruaok
        for instance, "inifile:" I have no idea what that even means.
      • 2017-03-29 08841, 2017

      • Gentlecat
        you decided to do it differently for LB, so I'm unfamiliar with the setup
      • 2017-03-29 08844, 2017

      • ruaok
        what part of this complex chain this might refer to.
      • 2017-03-29 08856, 2017

      • Gentlecat
        it's from the output I linked
      • 2017-03-29 08859, 2017

      • ruaok
        ok, well I've lost my interest in doing this.
      • 2017-03-29 08811, 2017

      • ruaok
        just kill this shit from jenkins. I don't really care, I'll run tests by hand.
      • 2017-03-29 08815, 2017

      • ruaok
        thanks for helping.
      • 2017-03-29 08822, 2017

      • Gentlecat
        ...
      • 2017-03-29 08834, 2017

      • arbenina_ joined the channel
      • 2017-03-29 08823, 2017

      • d4rkie has quit
      • 2017-03-29 08804, 2017

      • UmkaDK_ joined the channel
      • 2017-03-29 08832, 2017

      • UmkaDK has quit
      • 2017-03-29 08847, 2017

      • Gentlecat
        tests are not being run since it doesn't see the pytest.ini file
      • 2017-03-29 08850, 2017

      • Gentlecat
        don't know why
      • 2017-03-29 08852, 2017

      • D4RK-PH0ENiX has quit
      • 2017-03-29 08819, 2017

      • D4RK-PH0ENiX joined the channel
      • 2017-03-29 08847, 2017

      • CatQuest
        Quesito: nah, I just commented on eeevrytfing instead :P
      • 2017-03-29 08824, 2017

      • yvanzo
        reosarevok: Simplicity, those are independent. We already do have separate tables by entity type for edits, annotations, aliases, and so on.
      • 2017-03-29 08838, 2017

      • yvanzo
        About languages, yes, one issue is that we should not duplicate the data into attribute types whereas there already is a global list of languages.
      • 2017-03-29 08849, 2017

      • yvanzo
        Another point is that languages and locales should probably be handled differently in the future, that is, in another schema change.
      • 2017-03-29 08800, 2017

      • yvanzo
        Finally, I still wonder if we really need languages into attributes at all. I mean, languages/locales are already defined for appropriate entity types (Release & Work) and should probably not be pushed to a position of secondary information. The only benefit would be for URL language/locale (?) which would be better implemented separately.
      • 2017-03-29 08837, 2017

      • reosarevok actually wonders how bitmap is dealing with language/script for releases while implementing multiple tracklists
      • 2017-03-29 08834, 2017

      • iliekcomputers has quit
      • 2017-03-29 08857, 2017

      • ferbncode has quit
      • 2017-03-29 08827, 2017

      • rahulr has quit
      • 2017-03-29 08812, 2017

      • yvanzo
        We already have redundant data by having separate definition for language, script and locales (which inlude language information already and potentially script information too).
      • 2017-03-29 08812, 2017

      • ferbncode_ joined the channel
      • 2017-03-29 08848, 2017

      • Freso
        ruaok: (re: Google list), maybe they just "forgot"? Did you write them and ask?
      • 2017-03-29 08804, 2017

      • ruaok
        I didn't. we may not be significant enough.
      • 2017-03-29 08828, 2017

      • ruaok
        i'll leave it to you to follow up. you know peeps. :)
      • 2017-03-29 08837, 2017

      • ruaok
        it would be really nice to be listed there.
      • 2017-03-29 08854, 2017

      • Freso
        Yep.