Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F fluiddyn
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • fluiddyn
  • fluiddyn
  • Issues
  • #3

Closed
Open
Created Feb 26, 2017 by Bitbucket Importer@bitbucket_importerMaintainer

test_save_load_xml fails or succeeds with python 3 randomly

Created originally on Bitbucket by avmo (Ashwin Vishnu)

Failure for the test happened twice. See pipeline builds:

  • https://bitbucket.org/gfdyn/fluiddyn/addon/pipelines/home#!/results/%7B846e80fd-5a31-4a0a-910c-f942e68367d4%7D
#!python
py36 create: /opt/atlassian/pipelines/agent/build/.tox/py36
py36 inst: /opt/atlassian/pipelines/agent/build/.tox/dist/fluiddyn-0.0.14.zip
py36 installed: appdirs==1.4.2,cycler==0.10.0,fluiddyn==0.0.14,future==0.16.0,h5py==2.6.0,matplotlib==2.0.0,mpi4py==2.0.0,numpy==1.12.0,packaging==16.8,psutil==5.1.3,pyFFTW==0.10.4,pyparsing==2.1.10,python-dateutil==2.6.0,pytz==2016.10,scipy==0.18.1,six==1.10.0
py36 runtests: PYTHONHASHSEED='727447344'
py36 runtests: commands[0] | make tests
python -m unittest discover
..F.
======================================================================
FAIL: test_save_load_xml (fluiddyn.util.test.test_paramcontainer.TestContainer)
Test save to and load from xml file.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/atlassian/pipelines/agent/build/fluiddyn/util/test/test_paramcontainer.py", line 32, in test_save_load_xml
    self.assertEqual(self.txt, txt2)
AssertionError: '<params a2="1" a1="1" a0="1">\n  <child0 a1="None" a0="[1]"/>  \n\n</params>\n' != '<params a1="1" a0="1" a2="1">\n  <child0 a1="None" a0="[1]"/>  \n\n</params>\n'
- <params a2="1" a1="1" a0="1">
+ <params a1="1" a0="1" a2="1">
    <child0 a1="None" a0="[1]"/>  
  
  </params>
  • https://bitbucket.org/fluiddyn/fluiddyn/addon/pipelines/home#!/results/%7B62284bc6-4d23-418c-a294-7ac80787d1b9%7D
#!python
py36 create: /opt/atlassian/pipelines/agent/build/.tox/py36
py36 inst: /opt/atlassian/pipelines/agent/build/.tox/dist/fluiddyn-0.0.14.zip
py36 installed: appdirs==1.4.2,cycler==0.10.0,fluiddyn==0.0.14,future==0.16.0,h5py==2.6.0,matplotlib==2.0.0,mpi4py==2.0.0,numpy==1.12.0,packaging==16.8,psutil==5.1.3,pyFFTW==0.10.4,pyparsing==2.1.10,python-dateutil==2.6.0,pytz==2016.10,scipy==0.18.1,six==1.10.0
py36 runtests: PYTHONHASHSEED='2370371922'
py36 runtests: commands[0] | make tests
python -m unittest discover
..........F.
======================================================================
FAIL: test_save_load_xml (fluiddyn.util.test.test_paramcontainer.TestContainer)
Test save to and load from xml file.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/atlassian/pipelines/agent/build/fluiddyn/util/test/test_paramcontainer.py", line 32, in test_save_load_xml
    self.assertEqual(self.txt, txt2)
AssertionError: '<params a1="1" a2="1" a0="1">\n  <child0 a1="None" a0="[1]"/>  \n\n</params>\n' != '<params a1="1" a0="1" a2="1">\n  <child0 a1="None" a0="[1]"/>  \n\n</params>\n'
- <params a1="1" a2="1" a0="1">
?                      -------
+ <params a1="1" a0="1" a2="1">
?                +++++++
    <child0 a1="None" a0="[1]"/>  
  
  </params>
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking