problems with 0.3.1 install on ubuntu 20.04

119 views
Skip to first unread message

philfro...@gmail.com

unread,
May 24, 2021, 10:47:51 AM5/24/21
to QATrack+
Hi All

When I run "make test_simple"  I get two fails as below. Is this anything to worry about or can I ignore them.

Thanks for any help.

Phil

FAILED qatrack/service_log/tests/test_views.py::TestCreateServiceEvent::test_submit_valid - AttributeError: 'NoneType' object has no attribute 'id'
FAILED qatrack/service_log/tests/test_views.py::TestEditServiceEvent::test_edit_service_event_valid - AssertionError: 200 != 302

Results (101.54s):
    1039 passed
       2 failed
         - qatrack/service_log/tests/test_views.py:295 TestCreateServiceEvent.test_submit_valid
         - qatrack/service_log/tests/test_views.py:615 TestEditServiceEvent.test_edit_service_event_valid
       5 skipped
      32 deselected
make: *** [Makefile:18: test_simple] Error 1

Randle Taylor

unread,
May 25, 2021, 3:54:01 PM5/25/21
to philfro...@gmail.com, QATrack+
I think these errors are related to timezone issues and can be safely ignored.  I will be tackling some timezone issues in the near future so will look at it then.

Thanks,
Randy

--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qatrack/56401903-b6e2-4aef-a82d-ddb6f9c3eb19n%40googlegroups.com.

Phil

unread,
May 27, 2021, 9:51:31 AM5/27/21
to Randle Taylor, QATrack+
Thanks Randy

I ignored the errors and the install completed ok. I also found the time zone setting in local_settings.py and corrected it.

Just one other thing. The V3.1 install has gone onto a new 20.04 ubuntu server. I have managed to export our old 0.3.0 database and re-installed it in a newly created db on the new server (Original empty DB is still intact). I didn't want to risk breaking the original server trying to upgrade it  . We have a virtual environment so no problems getting another server. It also meant I could upgrade ubuntu without issue as well.

It all seems to be working ok having briefly tested it.
Is this an acceptable way of doing an upgrade or might I hit issues by not following the upgrade path in the documentation.

Thanks again for your help and a very nice QA database.

Phil/

Randle Taylor

unread,
May 27, 2021, 9:54:49 AM5/27/21
to Phil, QATrack+
That's a fine way of doing it.  If you use upload tests or have test list attachments you will also need to copy over the qatrack/media/uploads directory so those files will still be available.

RT

Phil

unread,
May 31, 2021, 6:31:13 AM5/31/21
to Randle Taylor, QATrack+
That's great.  It all seems to be working ok. I dont think we use any upload files yet but I will check. Thanks again for your help

Geoff Scott

unread,
Aug 10, 2021, 10:39:41 AM8/10/21
to QATrack+
Hi Phil,

Can I just check with you on how you did your upgrade.

When you said you managed to import your old database onto your new QATrack V3.1 were you using Postgres?

if so, I have tried to do the following install an older version of QATrack and then import our database so that we can then upgrade to a newer version of QATrack and export that to try and migrate it to a format that can be imported into SQL Database.
Did you just install a brand new version of QATrack onto Ubuntu and then import your old postgres db into postgres without any issues?

Thank you

Reply all
Reply to author
Forward
0 new messages