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

OPCUA test issues with MacOS #1138

Closed
danielpeintner opened this issue Oct 24, 2023 · 3 comments
Closed

OPCUA test issues with MacOS #1138

danielpeintner opened this issue Oct 24, 2023 · 3 comments
Labels
binding-opcua Issues related to opc ua protocol binding

Comments

@danielpeintner
Copy link
Member

We recently re-introduced the CI tests for Windows and MacOS again (see #1121),

By doing so we now have somewhat consistently failings tests for OPCUA on MacOS.
see for example https://github.com/eclipse-thingweb/node-wot/actions/runs/6625217554/job/17995749117?pr=1137#step:6:416

@erossignon do you have an idea what might causing these problems?

@danielpeintner danielpeintner added the binding-opcua Issues related to opc ua protocol binding label Oct 24, 2023
@erossignon
Copy link
Contributor

I'll take it,
It seems the vm doesn't have the domain name properly installed
os.hostname() has a ".local" suffix added that causes problem.

erossignon added a commit to node-opcua/node-wot that referenced this issue Oct 25, 2023
@erossignon
Copy link
Contributor

After digging, it appears to me that the /etc/hosts file doesn't have an entry with the hostname of the machine by default.

Adding 127.0.0.1 <hostname> in the /etc/hosts fixes this.

@danielpeintner
Copy link
Member Author

resolved by #1141

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
binding-opcua Issues related to opc ua protocol binding
Projects
None yet
Development

No branches or pull requests

2 participants