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

Any job has been see in Octane interface #32

Closed
yann696 opened this issue Jan 25, 2021 · 4 comments
Closed

Any job has been see in Octane interface #32

yann696 opened this issue Jan 25, 2021 · 4 comments

Comments

@yann696
Copy link

yann696 commented Jan 25, 2021

Hello,

When I try to create a pipeline in the Octane interface, with this new version of the bridge, no jobs is found.

image

However, my server (octane-gitlab-service-1.1.93.jar) is well detected.

When octane-gitlab-service-1.1.93.jar starts, I have this error message :

2021-01-25 10:46:35,109 main ERROR RollingFile contains an invalid element or attribute "NoMarkerFilter"
2021-01-25 10:46:35,450 main ERROR RollingFile contains an invalid element or attribute "NoMarkerFilter"

However, the service starts. I send the full trace when the service starts:

pnjn1805@yd-CZC0329TKC:~/octane$ sudo systemctl status octane.service
● octane.service - Octane-Gitlab Bridge
Loaded: loaded (/etc/systemd/system/octane.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2021-01-25 10:46:34 CET; 23min ago
Main PID: 1528661 (start_octane.sh)
Tasks: 89 (limit: 56314)
Memory: 1.0G
CGroup: /system.slice/octane.service
├─1528661 /bin/sh /home/pnjn1805/octane/start_octane.sh
├─1528667 sudo java8 -jar octane-gitlab-service-1.1.93.jar
└─1528675 java8 -jar octane-gitlab-service-1.1.93.jar

Jan 25 10:46:35 yd-CZC0329TKC start_octane.sh[1528675]: 2021-01-25 10:46:35,109 main ERROR RollingFile contains an invalid element or attribute "NoMarkerFilter"
Jan 25 10:46:35 yd-CZC0329TKC start_octane.sh[1528675]: 2021-01-25 10:46:35,450 main ERROR RollingFile contains an invalid element or attribute "NoMarkerFilter"
Jan 25 10:46:35 yd-CZC0329TKC start_octane.sh[1528675]: . ____ _ __ _ _
Jan 25 10:46:35 yd-CZC0329TKC start_octane.sh[1528675]: /\ / ' __ _ () __ __ _ \ \ \
Jan 25 10:46:35 yd-CZC0329TKC start_octane.sh[1528675]: ( ( )_
_ | '_ | '| | ' / ` | \ \ \
Jan 25 10:46:35 yd-CZC0329TKC start_octane.sh[1528675]: \/ )| |)| | | | | || (| | ) ) ) )
Jan 25 10:46:35 yd-CZC0329TKC start_octane.sh[1528675]: ' |
| .__|| ||| |_, | / / / /
Jan 25 10:46:35 yd-CZC0329TKC start_octane.sh[1528675]: =========|
|==============|/=////
Jan 25 10:46:35 yd-CZC0329TKC start_octane.sh[1528675]: :: Spring Boot :: (v2.0.3.RELEASE)
Jan 25 10:46:47 yd-CZC0329TKC start_octane.sh[1528675]: Connection to Octane was successful. gitlab application is ready...

More over, in the nga.log I have a new permission issue:
25/01/2021 10:51:14,501 WARN [AbridgedTasksWorker-106 ] OctaneServices : IMPORTANT: The integration user has no project member permissions

@lazara3
Copy link
Collaborator

lazara3 commented Jan 26, 2021

Hi,
The error means that your user has a DEVELOPER or REPORTER permission.
In order to fix it do the following steps:

  1. login to GitLab with user that have a maintainer or owner permissions
  2. create an access token with all permission
  3. update the properties file in the service with the new access token you created
  4. restart the service.
    let me know if it still don't work for you..

@yann696
Copy link
Author

yann696 commented Jan 26, 2021

I am already owner on this project:
image

And also, my token is a personal token with all the rights:
image

@lazara3
Copy link
Collaborator

lazara3 commented Jan 31, 2021

Hi
I opened an internal defect on the issue I found:
code problem: using Integer == Integer instead of Integer.equals(Obj)

It happen only if you have an user's id greater then 127..
this is why it happen only on env with many users.

@lazara3 lazara3 mentioned this issue Feb 1, 2021
lazara3 added a commit that referenced this issue Feb 1, 2021
@lazara3 lazara3 closed this as completed Feb 1, 2021
@lazara3
Copy link
Collaborator

lazara3 commented Feb 1, 2021

fixed

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

2 participants