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

Docker build fails in the testing phase (test_list_strds, test_6_graph_apply) #161

Open
girgink opened this issue Jan 17, 2023 · 0 comments
Labels

Comments

@girgink
Copy link

girgink commented Jan 17, 2023

Running the docker build following the documentation fails with the following errors during the testing phase:

git clone https://github.com/Open-EO/openeo-grassgis-driver.git
cd openeo-grassgis-driver
docker build -f docker/Dockerfile -t openeo_grass_gis_driver .

...

=================================== FAILURES ===================================
___________________ ActiniaInterfaceTestCase.test_list_strds ___________________

self = <test_actinia_interface.ActiniaInterfaceTestCase testMethod=test_list_strds>

    def test_list_strds(self):
        iface = ActiniaInterface(self.gconf)
        status, layers = iface.list_strds(
            location="nc_spm_08", mapset="landsat")
        pprint(layers)

        self.assertEqual(status, 200)
>       self.assertEqual(len(layers), 1)
E       AssertionError: 4 != 1

tests/test_actinia_interface.py:47: AssertionError
----------------------------- Captured stdout call -----------------------------
['lsat5_1987', 'lsat5_1987_10', 'lsat5_1987_30', 'lsat5_1987_40']
__________________ GraphValidationTestCase.test_6_graph_apply __________________

self = <test_process_graph_validation.GraphValidationTestCase testMethod=test_6_graph_apply>

    def test_6_graph_apply(self):
        """Run the validation test
        """
        response = self.app.post(
            self.prefix +
            '/validation',
            data=json.dumps(APPLY_1),
            content_type="application/json",
            headers=self.auth)
>       self.assertEqual(response.status_code, 200)
E       AssertionError: 400 != 200

tests/test_process_graph_validation.py:83: AssertionError

I have also tested 2.5.3 release, it also has the same issue.

@neteler neteler added the bug label Feb 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants