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

CI? AttributeError: Something went wrong while opening shared memory. #273

Open
lanemeier7 opened this issue Dec 19, 2024 · 0 comments
Open

Comments

@lanemeier7
Copy link
Collaborator

Hello, we are getting this error frequently but not always with our GitLab CI system when it runs pytest. This error does not seem to occur when running pytest manually on test computers or laptops.

Sometimes when test cases are run we see "Something went wrong while creating shared memory." error.

self = <catkit2.testbed.testbed_proxy.TestbedProxy object at 0x000001DDE7186CA8>
item = 'accufiz_interferometer'
    def __getattr__(self, item):
        '''Get the ServiceProxy named after the attribute.
    
        This acts as a shortcut for :func:`~catkit2.testbed.TestbedProxy.get_service`.
    
        Parameters
        ----------
        item : string
            The identifier for the service for which to return the ServiceProxy.
    
        Returns
        -------
        ServiceProxy or derived class object.
            A ServiceProxy for the named service.
        '''
        try:
            service = self.get_service(item)
    
            # Remember the service for next time.
            setattr(self, item, service)
    
            return service
        except Exception as e:
>           raise AttributeError(str(e))
E           AttributeError: Something went wrong while opening shared memory.
c:\catkit2\catkit2\testbed\testbed_proxy.py:66: AttributeError

Usually passes on retry.

It looks similar to this previously closed issue #113

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant