jenkins-infra / helpdesk

Open your Infrastructure related issues here for the Jenkins project
https://github.com/jenkins-infra/helpdesk/issues/new/choose
16 stars 10 forks source link

Can't access applitools account #3564

Closed itaibh closed 1 year ago

itaibh commented 1 year ago

Type(s) of account issue

I've lost my password

Summary

I have an old password to the username applitools which doesn't work anymore. It was last updated in 2020 from something else. I tried clicking on the "Forgot password" link in the accounts.jenkins.io page, and the following had happened:

  1. When I tried using applitools as a username, I got a server error (see below).
  2. When I tried using several company emails I got a message claiming that "If your user account or email address exists in our database, you will receive a password at your email address in a few minutes" but no email was received in any of them.

The server error I got when I used applitools as a username:

HTTP ERROR 500 javax.servlet.ServletException: jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address

URI: /doPasswordReset

500 javax.servlet.ServletException: jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address Stapler javax.servlet.ServletException: jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address

Caused by:

javax.servlet.ServletException: jakarta.mail.SendFailedException: Invalid Addresses;
  nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address

    at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:818)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:900)
    at org.kohsuke.stapler.Stapler.invoke(Stapler.java:698)
    at org.kohsuke.stapler.Stapler.service(Stapler.java:248)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:590)
    at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1410)
    at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764)
    at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665)
    at org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170)
    at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202)
    at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635)
    at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131)
    at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223)
    at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221)
    at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1385)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176)
    at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484)
    at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543)
    at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174)
    at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1307)
    at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129)
    at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149)
    at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:51)
    at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122)
    at org.eclipse.jetty.server.Server.handle(Server.java:563)
    at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505)
    at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762)
    at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497)
    at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282)
    at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
    at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
    at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:416)
    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:385)
    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:272)
    at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:140)
    at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)
    at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:936)
    at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1080)
    at java.base/java.lang.Thread.run(Unknown Source)
Caused by: jakarta.mail.SendFailedException: Invalid Addresses;
  nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address

    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:2064)
    at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1286)
    at jakarta.mail.Transport.send0(Transport.java:231)
    at jakarta.mail.Transport.send(Transport.java:100)
    at org.jenkinsci.account.Application.mail(Application.java:263)
    at org.jenkinsci.account.Application$User.mailPasswordReset(Application.java:423)
    at org.jenkinsci.account.Application.doDoPasswordReset(Application.java:343)
    at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source)
    at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397)
    at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:409)
    at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:207)
    at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:140)
    at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:558)
    at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59)
    at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:770)
    ... 43 more
Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address

    at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1917)
    ... 57 more

Powered by Jetty:// 10.0.14
HTTP ERROR 500 javax.servlet.ServletException: jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address URI: /doPasswordReset STATUS: 500 MESSAGE: javax.servlet.ServletException: jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address SERVLET: Stapler CAUSED BY: javax.servlet.ServletException: jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address CAUSED BY: jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address CAUSED BY: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address Caused by: javax.servlet.ServletException: jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:818) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:900) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:698) at org.kohsuke.stapler.Stapler.service(Stapler.java:248) at javax.servlet.http.HttpServlet.service(HttpServlet.java:590) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1410) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:764) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1665) at org.eclipse.jetty.websocket.servlet.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:170) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:202) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1635) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:527) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:131) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:578) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:223) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1570) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:221) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1385) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:176) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:484) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1543) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:174) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1307) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:129) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:149) at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:51) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:122) at org.eclipse.jetty.server.Server.handle(Server.java:563) at org.eclipse.jetty.server.HttpChannel.lambda$handle$0(HttpChannel.java:505) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:762) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:497) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:282) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100) at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:416) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:385) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:272) at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:140) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:936) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1080) at java.base/java.lang.Thread.run(Unknown Source) Caused by: jakarta.mail.SendFailedException: Invalid Addresses; nested exception is: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:2064) at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:1286) at jakarta.mail.Transport.send0(Transport.java:231) at jakarta.mail.Transport.send(Transport.java:100) at org.jenkinsci.account.Application.mail(Application.java:263) at org.jenkinsci.account.Application$User.mailPasswordReset(Application.java:423) at org.jenkinsci.account.Application.doDoPasswordReset(Application.java:343) at java.base/java.lang.invoke.MethodHandle.invokeWithArguments(Unknown Source) at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:397) at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:409) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:207) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:140) at org.kohsuke.stapler.MetaClass$11.doDispatch(MetaClass.java:558) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:59) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:770) ... 43 more Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 501 Invalid command or cannot parse to address at com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1917) ... 57 more [Powered by Jetty:// 10.0.14](https://eclipse.org/jetty) ### jenkins.io account username applitools ### jenkins.io account email _No response_ ### Which URL are you trying to login at? https://accounts.jenkins.io/login https://repo.jenkins-ci.org/
github-actions[bot] commented 1 year ago

Take a look at these similar issues to see if there isn't already a response to your problem:

  1. 75% #3339
itaibh commented 1 year ago

The automated reply doen't help. I looked at the ticket there. I don't think it's the same case.

lemeurherve commented 1 year ago

@itaibh there was an issue with the email associated with the applitools Jenkins user (it was incomplete), hence the error you've encountered.

I've set it to the same email as the one associated with the applitools Jira user, and triggered a password reset, there should be a corresponding email in that mailbox.

Could you confirm us you received it?

itaibh commented 1 year ago

I did. Thank you.

itaibh commented 1 year ago

How long does it take from deployment until I see the new plugin version in the list?

lemeurherve commented 1 year ago

It can go up to 2~3 hours

itaibh commented 1 year ago

@lemeurherve I can access the account now, but the curl is returning 401, and in JFrog's artifactory "set me up" doesn't return any value (it also doesn't look anything like the docs, I did my best to select the correct things).

dduportal commented 1 year ago

This account was an "old" one and inherited from unexpected settings when Keycloak was introduced in 2020.

Applied the 2 following changes:

=> as verified in IRC with @itaibh , it allowed to succesfully run the curl command at https://www.jenkins.io/doc/developer/publishing/releasing-manually/#using-curl

dduportal commented 1 year ago

New issue : HTTP/401 when trying to release the plugin.

For archive, we had a similar issue in https://github.com/jenkins-infra/helpdesk/issues/3158 (after the HTTP/403 was solved for curl)

itaibh commented 1 year ago

this is the ~/.m2/settings.xml minus comments and passwords:

<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
    <pluginGroups>
</pluginGroups>
    <proxies>
</proxies>
    <servers>

        <server>
            <id>ossrh</id>
            <username>b3RFNvsd</username>
            <password>...</password>
        </server>
        <server>
            <id>maven.jenkins-ci.org</id> <!-- For parent 1.397 or newer; before this use id java.net-m2-repository -->
            <username>applitools</username>
            <password>...</password>
        </server>
        <server>
            <id>repo.jenkins-ci.org</id> <!-- For parent 1.397 or newer; before this use id java.net-m2-repository -->
            <username>applitools</username>
            <password>...</password>
        </server>
        <server>
            <id>jfrog</id>
            <username>java5-deployer</username>
            <password>...</password>
        </server>
    </servers>
    <mirrors>
    </mirrors>
    <profiles>
        <profile>
            <id>local-build-declarations</id>
            <properties>
                <gpg.keyname>...</gpg.keyname>
                <gpg.passphrase>...</gpg.passphrase>
                <local.build>true</local.build>
            </properties>
        </profile>

        <profile>
            <id>allow-snapshots</id>
            <activation>
                <activeByDefault>true</activeByDefault>
            </activation>
            <repositories>
                <repository>
                    <id>snapshots-repo</id>
                    <url>https://oss.sonatype.org/content/repositories/snapshots</url>
                    <releases>
                        <enabled>false</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </repository>
            </repositories>
        </profile>

        <profile>
            <id>bamboo-build</id>
            <repositories>
                <repository>
                    <id>atlassian-public</id>
                    <url>https://m2proxy.atlassian.com/repository/public</url>
                    <snapshots>
                        <enabled>true</enabled>
                        <updatePolicy>daily</updatePolicy>
                        <checksumPolicy>warn</checksumPolicy>
                    </snapshots>
                    <releases>
                        <enabled>true</enabled>
                        <checksumPolicy>warn</checksumPolicy>
                    </releases>
                </repository>
            </repositories>

            <pluginRepositories>
                <pluginRepository>
                    <id>atlassian-public</id>
                    <url>https://m2proxy.atlassian.com/repository/public</url>
                    <releases>
                        <enabled>true</enabled>
                        <checksumPolicy>warn</checksumPolicy>
                    </releases>
                    <snapshots>
                        <checksumPolicy>warn</checksumPolicy>
                    </snapshots>
                </pluginRepository>
            </pluginRepositories>
        </profile>
    </profiles>
    <activeProfiles>
        <activeProfile>local-build-declarations</activeProfile>
        <activeProfile>allow-snapshots</activeProfile>
    </activeProfiles>
</settings>
dduportal commented 1 year ago

On Artifactory side, there is no error related to your tentatives: it means that you have to debug the Maven calls as the HTTP/401 clearly means the password is not sent as expected by Maven.

@itaibh Could you try the followings:

-Reducing the settings file to its minimum (e.g. only the content retrived from Artifactory by the curl command) and/or try with a mvn -s minimalist-settings.xml #... command)?

itaibh commented 1 year ago

I'm using the bundled maven (3.8.1) that comes with the IDE. I also have an older version (3.6.3). I tried updating the parent POM to the version you suggested, no luck. I also tried reducing my settings.xml to what I got from curl and it didn't work.

I think maybe my pom.xml is causing the issue, as I see it contains only "repo.jenkins-ci.org" in the following segments:

  <repositories>
    <repository>
      <id>repo.jenkins-ci.org</id>
      <url>https://repo.jenkins-ci.org/public/</url>
    </repository>
  </repositories>

  <pluginRepositories>
    <pluginRepository>
      <id>repo.jenkins-ci.org</id>
      <url>https://repo.jenkins-ci.org/public/</url>
    </pluginRepository>
  </pluginRepositories>

  <distributionManagement>
    <repository>
      <id>central</id>
      <name>jenkinsci-releases</name>
      <url>https://repo.jenkins-ci.org/artifactory/releases</url>
    </repository>

    <snapshotRepository>
      <id>snapshots</id>
      <name>jenkinsci-snapshots</name>
      <url>https://repo.jenkins-ci.org/artifactory/snapshots</url>
    </snapshotRepository>
  </distributionManagement>

while settings.xml only contains the server "maven.jenkins-ci.org"

dduportal commented 1 year ago

I'm using the bundled maven (3.8.1) that comes with the IDE. I also have an older version (3.6.3). I tried updating the parent POM to the version you suggested, no luck. I also tried reducing my settings.xml to what I got from curl and it didn't work.

I think maybe my pom.xml is causing the issue, as I see it contains only "repo.jenkins-ci.org" in the following segments:

  <repositories>
    <repository>
      <id>repo.jenkins-ci.org</id>
      <url>https://repo.jenkins-ci.org/public/</url>
    </repository>
  </repositories>

  <pluginRepositories>
    <pluginRepository>
      <id>repo.jenkins-ci.org</id>
      <url>https://repo.jenkins-ci.org/public/</url>
    </pluginRepository>
  </pluginRepositories>

  <distributionManagement>
    <repository>
      <id>central</id>
      <name>jenkinsci-releases</name>
      <url>https://repo.jenkins-ci.org/artifactory/releases</url>
    </repository>

    <snapshotRepository>
      <id>snapshots</id>
      <name>jenkinsci-snapshots</name>
      <url>https://repo.jenkins-ci.org/artifactory/snapshots</url>
    </snapshotRepository>
  </distributionManagement>

while settings.xml only contains the server "maven.jenkins-ci.org"

The pom.xml I see in https://github.com/jenkinsci/applitools-eyes-plugin/blob/master/pom.xml looks really different than what you are trying to release. Did I miss something?

(but the answer is yes: you have to remove the distribution management as it's already handled by the plugin pom parent: https://github.com/jenkinsci/plugin-pom/blob/master/pom.xml#L44-L54)

itaibh commented 1 year ago

I removed the <distribution> segment and the build/deploy passed. Still I don't see the updated package. I was told it could take up to 2 hours. Is that so?

dduportal commented 1 year ago

Hi @itaibh as you're using a manual release, it's really hard to tell what was done.

At first glance:

=> But as per https://www.jenkins.io/doc/developer/publishing/releasing-manually/#performing-the-release you need to "prepare and perform" the release in order to have Maven:

=> Then the automatic Update Center process will be able to pick your release and then deploy it to the update center (if everything is set up properly).

Alternative is using the CD process (I saw you started a PR, it might be a matter of time for reviewers to merge it to fully enable it : in that case sorry for the delay)

itaibh commented 1 year ago

what about the <changelist>-SNAPSHOT</changelist> tag? should I remove it? change it to something else?

dduportal commented 1 year ago

what about the <changelist>-SNAPSHOT</changelist> tag? should I remove it? change it to something else?

I have no idea what this markup is used for, you reached my maximum level of Maven skills :D

I suggest you to start a discussion thread in community.jenkins.io as we are slowly drifting away from the scope of the Jenkins infrastructure. Please keep the issue here open, no problem to close it only when it's solved "end to end".

(Edit): I don't see anything related to this in https://www.jenkins.io/doc/developer/publishing/releasing-manually

itaibh commented 1 year ago

I've made some changes to the POM file and now I get 403 when deploying.

itaibh commented 1 year ago

I can see the plugin in https://repo.jenkins-ci.org/releases/org/jenkins-ci/plugins/applitools-eyes/1.14/ but not in https://plugins.jenkins.io/applitools-eyes/ Where should I push the tag?

dduportal commented 1 year ago

Hello @itaibh !

=> end to end it can take from 15 min up to 2 hours.

Where should I push the tag?

I'm not 100M% sure if the tag is blocking any of the 2 above process.

The git tag should be pushed to the GitHub repsoitory.

If your pom.xml is properly configured and you properly defined the SSH keys as per https://www.jenkins.io/doc/developer/publishing/releasing-manually/#set-up-github-to-accept-your-ssh-key, then the mvn release:perform should have already created and pushed the tags.

Does it make sense? Is it ok for you?

dduportal commented 1 year ago

I've made some changes to the POM file and now I get 403 when deploying.

403 can be when missing permissions (but the account applitools looks properly configured in Artifactory), OR it could also be when trying to override a release, which is forbidden, but can happen if you partially deployed the release (mvn only pushed the pom but not the jar). In these cases you have to cut a new release

dduportal commented 1 year ago

@itaibh looks like everything is fine:

Capture d’écran 2023-05-10 à 14 49 45

Capture d’écran 2023-05-10 à 14 50 01

Is this ok for you?

itaibh commented 1 year ago

Yes, thank you for your help.

On Wed, 10 May 2023, 15:51 Damien Duportal, @.***> wrote:

@itaibh https://github.com/itaibh looks like everything is fine:

  • The release 1.14 of the plugin is visible in the "Available Plugins" section of ci.jenkins.io (after checking the latest index):

[image: Capture d’écran 2023-05-10 à 14 49 45] https://user-images.githubusercontent.com/1522731/237395555-f7d32a2c-e90b-4f7b-9301-a6ed27bd5cbd.png

  • The plugins.jenkins.io website is now showing the release:

[image: Capture d’écran 2023-05-10 à 14 50 01] https://user-images.githubusercontent.com/1522731/237395561-2ab3d3ff-ba12-4dc3-ad51-f5ecb3c03007.png

Is this ok for you?

— Reply to this email directly, view it on GitHub https://github.com/jenkins-infra/helpdesk/issues/3564#issuecomment-1542155790, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABCNNYC7APHMMM3E4LHXDTXFOFM5ANCNFSM6AAAAAAXVVXU4Q . You are receiving this because you were mentioned.Message ID: @.***>

dduportal commented 1 year ago

Thanks for your efforts and for the contribution to the Jenkins ecosystem!

I'm gonna proceed and close this issue. Feel free to reopen, as usual, if you have any other issue.