Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed issue that prevented Postgres Tests from passing locally and on any port other than 5432 in travis #6531

Merged
merged 112 commits into from
Apr 3, 2020

Commits on Mar 14, 2020

  1. Configuration menu
    Copy the full SHA
    841768c View commit details
    Browse the repository at this point in the history
  2. Attempting to fix Postgres issue

    trying to stop loop
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    33da65e View commit details
    Browse the repository at this point in the history
  3. Attempting to fix Postgres

    isolating postgres calls
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    43b714d View commit details
    Browse the repository at this point in the history
  4. Attempting to fix Postgres issue

    Separating jobs
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    8010633 View commit details
    Browse the repository at this point in the history
  5. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    cc2506a View commit details
    Browse the repository at this point in the history
  6. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    05181a7 View commit details
    Browse the repository at this point in the history
  7. Attempting to fix postgres

    Separating builds again
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    1ff769d View commit details
    Browse the repository at this point in the history
  8. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    fba1b83 View commit details
    Browse the repository at this point in the history
  9. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    edf60e8 View commit details
    Browse the repository at this point in the history
  10. Attempting to fix postgres

    Just added back version 10, just in case it gets called
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    c884e5d View commit details
    Browse the repository at this point in the history
  11. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    e553200 View commit details
    Browse the repository at this point in the history
  12. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    c7b4411 View commit details
    Browse the repository at this point in the history
  13. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    063dd2f View commit details
    Browse the repository at this point in the history
  14. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    d357a47 View commit details
    Browse the repository at this point in the history
  15. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    b048966 View commit details
    Browse the repository at this point in the history
  16. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    299b91d View commit details
    Browse the repository at this point in the history
  17. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    6adf026 View commit details
    Browse the repository at this point in the history
  18. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    87e37a1 View commit details
    Browse the repository at this point in the history
  19. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    c20a82e View commit details
    Browse the repository at this point in the history
  20. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    76a29d0 View commit details
    Browse the repository at this point in the history
  21. Update .travis.yml

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    b90abc4 View commit details
    Browse the repository at this point in the history
  22. Attempting to fix postgres

    Removed postgres installs from unneeded test cases. Added the ability to test Postgres 10 and 11
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    5d4019d View commit details
    Browse the repository at this point in the history
  23. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    028daee View commit details
    Browse the repository at this point in the history
  24. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    387258c View commit details
    Browse the repository at this point in the history
  25. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    dc3afa6 View commit details
    Browse the repository at this point in the history
  26. Attempting to fix postgres

    Added test for postgres 12 that's allowed to fail
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    06045a5 View commit details
    Browse the repository at this point in the history
  27. Attempting to fix postgres

    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    ebcbbb0 View commit details
    Browse the repository at this point in the history
  28. Attempting to fix postgres

    Second round to see if it fails eventually
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    72f72a1 View commit details
    Browse the repository at this point in the history
  29. Attempting to fix postgres

    Round 3
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    2047e2e View commit details
    Browse the repository at this point in the history
  30. Attempting to fix postgres

    Allowing all postgres to fail since it seems to occur randomly
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    fa10637 View commit details
    Browse the repository at this point in the history
  31. Temporary fix: separated mongo and postgres in travis

    Now the mongo and postgres scripts are independent of each other to prevent the `ERROR:  could not access file "$libdir/postgis-2.4": No such file or directory` of showing up in the rest of the builds.
    
    In addition, a test for postgres-12 has been added for future compatibility. Both the postgres-11 and postgres-12 have been added to `allow_failures` because the aforementioned error still creeps up. Important note is that the error has nothing to do with compatibility with postgres, but rather seems to be an error of how postgres (or really postgis) is being referenced in the respective travis distribution. Lastly, this error, if truly random should appear less than before as the postgres scripts aren't being run for every build as it previously was running.
    cbaker6 authored Mar 14, 2020
    Configuration menu
    Copy the full SHA
    0bdc4f4 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    d60203d View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    a7c964b View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2020

  1. Removing preinstalled versions of postgres from list

    Seeing if this gets rid of the random error
    cbaker6 authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    d3e795a View commit details
    Browse the repository at this point in the history
  2. Use postgres made for dist

    cbaker6 authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    b0e224f View commit details
    Browse the repository at this point in the history
  3. Second round

    cbaker6 authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    98d83e9 View commit details
    Browse the repository at this point in the history
  4. Round 3

    cbaker6 authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    ddd6f4a View commit details
    Browse the repository at this point in the history
  5. Round 4

    cbaker6 authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    efa17ff View commit details
    Browse the repository at this point in the history
  6. Round 5

    cbaker6 authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    6a98945 View commit details
    Browse the repository at this point in the history
  7. Fixed issue with random postgres fail

    Removing the native postgres builds at the right time seems to have fixed the random error from before.
    
    The postgres tests are now not allowed to fail.
    cbaker6 authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    a3f72b8 View commit details
    Browse the repository at this point in the history
  8. Added back postgres 11 and 12 to allow_failures

    The actual problem is fixed, but it seems there are some instability with some of the test cases for postgres that need to be addressed at another time.
    
    The issues that pop up are: 
    - Postgres-11
    ```Failures:
    1) Cloud Code cloud jobs should set the message / success on the job
      Message:
        Expected undefined to equal 'hello'.
      Stack:
        Error: Expected undefined to equal 'hello'.
            at <Jasmine>
            at req.message.then.then.jobStatus (/home/travis/build/parse-community/parse-server/spec/CloudCode.spec.js:1571:46)
            at process._tickCallback (internal/process/next_tick.js:68:7)
    ```
    
    - Postgres-12
    ``` 
    Failures:
    1) Cloud Code cloud jobs should set the message / success on the job
      Message:
        Expected undefined to equal 'hello'.
      Stack:
        Error: Expected undefined to equal 'hello'.
            at <Jasmine>
            at req.message.then.then.jobStatus (/home/travis/build/parse-community/parse-server/spec/CloudCode.spec.js:1571:46)
            at process._tickCallback (internal/process/next_tick.js:68:7)
      Message:
        Expected 'running' to equal 'succeeded'.
      Stack:
        Error: Expected 'running' to equal 'succeeded'.
            at <Jasmine>
            at promise.then.then.jobStatus (/home/travis/build/parse-community/parse-server/spec/CloudCode.spec.js:1580:45)
            at process._tickCallback (internal/process/next_tick.js:68:7)
    ```
    cbaker6 authored Mar 15, 2020
    Configuration menu
    Copy the full SHA
    5999aff View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2020

  1. Configuration menu
    Copy the full SHA
    579124c View commit details
    Browse the repository at this point in the history
  2. Setting up before_install and before_script

    This should shrink the footprint of the file and and reduce the redundancy of calls for postgres.
    
    Added support for testing of Postgres 9 and 10 in the scripts, not adding the tests though
    cbaker6 authored Mar 17, 2020
    Configuration menu
    Copy the full SHA
    38a2b9e View commit details
    Browse the repository at this point in the history
  3. make scripts executable

    cbaker6 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    8b0f875 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac3be67 View commit details
    Browse the repository at this point in the history
  5. Update .travis.yml

    cbaker6 authored Mar 17, 2020
    Configuration menu
    Copy the full SHA
    0052963 View commit details
    Browse the repository at this point in the history
  6. add sourcing in script

    cbaker6 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    a375604 View commit details
    Browse the repository at this point in the history
  7. trying to fix source

    cbaker6 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    8d26cbc View commit details
    Browse the repository at this point in the history
  8. fixing env var in script

    cbaker6 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    dfcbe0d View commit details
    Browse the repository at this point in the history
  9. fixed ; near then

    cbaker6 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    a5aa417 View commit details
    Browse the repository at this point in the history
  10. Cleaning up travis file

    removed old lines
    cbaker6 authored Mar 17, 2020
    Configuration menu
    Copy the full SHA
    cc91dc4 View commit details
    Browse the repository at this point in the history
  11. Finishing clean up

    cbaker6 authored Mar 17, 2020
    Configuration menu
    Copy the full SHA
    0e33072 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    773ca67 View commit details
    Browse the repository at this point in the history
  13. Update .travis.yml

    cbaker6 authored Mar 17, 2020
    Configuration menu
    Copy the full SHA
    fe0077c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    559e0a7 View commit details
    Browse the repository at this point in the history
  15. I think using travis default postgres port of 5433 will allow us to n…

    …ot have to remove anything from the image
    cbaker6 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    2ceff98 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    57a81cb View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    7776457 View commit details
    Browse the repository at this point in the history
  18. modifying script for test

    cbaker6 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    59a3e8a View commit details
    Browse the repository at this point in the history
  19. modifying script for test

    cbaker6 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    3a099c1 View commit details
    Browse the repository at this point in the history
  20. modifying script for test

    cbaker6 committed Mar 17, 2020
    Configuration menu
    Copy the full SHA
    fc2006d View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    4ffee37 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    8d17b04 View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2020

  1. removing postgres 12

    cbaker6 authored Mar 18, 2020
    Configuration menu
    Copy the full SHA
    84b4a64 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2020

  1. Configuration menu
    Copy the full SHA
    839d3e6 View commit details
    Browse the repository at this point in the history

Commits on Mar 23, 2020

  1. Configuration menu
    Copy the full SHA
    c1173cb View commit details
    Browse the repository at this point in the history
  2. updated postgis to 3.0

    cbaker6 committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    648ea74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3842083 View commit details
    Browse the repository at this point in the history
  4. Update .travis.yml

    cbaker6 authored Mar 23, 2020
    Configuration menu
    Copy the full SHA
    6a6c2d4 View commit details
    Browse the repository at this point in the history
  5. fix Postgres test issues that causes some tests to fail locally when …

    …using PARSE_SERVER_TEST_DATABASE_URI
    cbaker6 committed Mar 23, 2020
    Configuration menu
    Copy the full SHA
    fca6973 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    cc0f9c7 View commit details
    Browse the repository at this point in the history

Commits on Mar 24, 2020

  1. Configuration menu
    Copy the full SHA
    bcf2116 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    530bc9d View commit details
    Browse the repository at this point in the history

Commits on Mar 25, 2020

  1. Configuration menu
    Copy the full SHA
    b4c6ee0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8ee28e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    bdac2f4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e90eeae View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4192af3 View commit details
    Browse the repository at this point in the history
  6. fixed arg for psql

    cbaker6 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    48d1461 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    5265115 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4cd60df View commit details
    Browse the repository at this point in the history
  9. checking fix

    cbaker6 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    183e273 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5457858 View commit details
    Browse the repository at this point in the history
  11. leave default port

    cbaker6 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    5a175d5 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2455281 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    36d590a View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ee57800 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    8300f20 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    dc6e595 View commit details
    Browse the repository at this point in the history
  17. fix

    cbaker6 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    59c9031 View commit details
    Browse the repository at this point in the history
  18. don't start service

    cbaker6 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    8e27b46 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    268c08a View commit details
    Browse the repository at this point in the history
  20. remove folder befor init

    cbaker6 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    f93620f View commit details
    Browse the repository at this point in the history
  21. remove folder befor init

    cbaker6 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    c1dde02 View commit details
    Browse the repository at this point in the history
  22. still have to stop service

    cbaker6 committed Mar 25, 2020
    Configuration menu
    Copy the full SHA
    b269e6b View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    bd5a1f8 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    160f5a5 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    2eb7987 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    f635706 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    fff3f0d View commit details
    Browse the repository at this point in the history

Commits on Mar 26, 2020

  1. Configuration menu
    Copy the full SHA
    f03310e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    020080e View commit details
    Browse the repository at this point in the history
  3. working version

    cbaker6 committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    79c7949 View commit details
    Browse the repository at this point in the history
  4. round 2

    cbaker6 committed Mar 26, 2020
    Configuration menu
    Copy the full SHA
    c27c304 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bb86193 View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2020

  1. Configuration menu
    Copy the full SHA
    4a8650e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a70e1f9 View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2020

  1. Configuration menu
    Copy the full SHA
    9073081 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a03d511 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2020

  1. Configuration menu
    Copy the full SHA
    fc73f17 View commit details
    Browse the repository at this point in the history
  2. run testonly

    cbaker6 authored Apr 3, 2020
    Configuration menu
    Copy the full SHA
    861f048 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    8d40f0c View commit details
    Browse the repository at this point in the history