OpenDataServices / opendataservices-deploy

Repository used for deploying software to Open Data Services Co-operative's servers.
MIT License
5 stars 1 forks source link

Travis OCDS tests failing #98

Closed odscjames closed 4 years ago

odscjames commented 4 years ago

These fail.

I checked latest code is deployed.

First thing that must be fixed:

OCDS live is on different version of Python. Need to upgrade Travis to use that or a requirement can't be installed. Like:


language: python
addons:
  chrome: stable
jobs:
  include:
    - stage: test-iati-360
      python: "3.5"
      dist: xenial
      install:
        - .....
      script:
        - .......
    - stage: test-ocds
      python: "3.6"
      dist: bionic

      install:
        - ......
      script:
        - ......

Still fails tho. It just seems to massively start erroring half way thru.

https://travis-ci.org/github/OpenDataServices/opendataservices-deploy/jobs/663904034

No good reason I can see.

Next try: Try running locally, if errors look for better debug logs

robredpath commented 4 years ago

Fix daily run of cove-ocds functional tests against the live site

odscjames commented 4 years ago

https://github.com/open-contracting/cove-ocds/pull/27 fixes basic problem

But we still need to apply the Python changes above and test, so leave issue open

Bjwebb commented 4 years ago

I've uncommented, and applied the PYthon changes, and it seems to work.

Here's a successful cron run: https://travis-ci.org/github/OpenDataServices/opendataservices-deploy/builds/712373456