Skip to content

Instantly share code, notes, and snippets.

2020-01-27 08:44:03
{"name":"node:confluence","hostname":"jenkins-wiki-exporter-d8c8c68bd-7kwxr","pid":25,"level":30,"msg":"getConfluencePageFromId: looking up https://wiki.jenkins-ci.org/display/JENKINS/Blue+Ocean+Plugin","time":"2020-01-27T07:44:03.240Z","v":0} Show context
2020-01-27 08:44:03
{"name":"express","hostname":"jenkins-wiki-exporter-d8c8c68bd-7kwxr","pid":25,"req_id":"d2781206-843b-47e0-98ae-623eb794d89b","level":30,"remote-address":"216.71.199.175","ip":"216.71.199.175","method":"GET","url":"/confluence-url/https%3A%2F%2Fwiki.jenkins-ci.org%2Fdisplay%2FJENKINS%2FBlue%2BOcean%2BPlugin.adoc","referer":"https://jenkins-wiki-exporter.jenkins.io/","user-agent":{"family":"Firefox","major":"72","minor":"0","patch":"0","device":{"family":"Other","major":"0","minor":"0","patch":"0"},"os":{"family":"Windows","major":"10","minor":"0","patch":"0"}},"http-version":"1.1","response-time":60007.409085,"response-hrtime":[60,7409085],"status-code":200,"req-headers":{"host":"jenkins-wiki-exporter.jenkins.io","x-r
HTTP ERROR 500
Problem accessing /doSignup. Reason:
Server Error
Caused by:
javax.servlet.ServletException: javax.servlet.ServletException: org.springframework.ldap.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]; nested exception is javax.naming.AuthenticationException: [LDAP: error code 49 - Invalid Credentials]
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
+ docker build permissions-report -t permissions-report
Sending build context to Docker daemon 6.656kB
Step 1/4 : FROM ruby:2.3-slim
---> 6c82e230dca6
Step 2/4 : RUN gem install graphql-client httparty
---> Running in 98f2aca47a9c
ERROR: Error installing graphql-client:
There are no versions of zeitwerk (~> 2.2) compatible with your Ruby & RubyGems. Maybe try installing an older version of the gem you're looking for?
zeitwerk requires Ruby version >= 2.4.4. The current ruby version is 2.3.8.459.
D:\home\site\wwwroot\incrementals-publisher\index.js:35
module.exports = async (context, data) => {
^
SyntaxError: Unexpected token (
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
@olblak
olblak / gist:fcc6b6074bbbe6d048e7b34d99741e87
Last active November 29, 2019 08:34
release automation tool
```
tagname = "https://api.github.com/repos/jenkins-infra/plugin-site-api/releases/latest".tag_name,
if not tagname in "https://hub.docker.com/v2/repositories/jenkinsciinfra/plugin-site/tags?page_size=1000" {
docker build -t jenkinsinfra/pluginsite:$tagname
docker push
}
if tagname != "https://github.com/jenkins-infra/charts/blob/master/charts/plugin-site/values.yaml".image.repository
update yaml file "https://github.com/jenkins-infra/charts/blob/master/charts/plugin-site/values.yaml"
@olblak
olblak / gist:2b340bdad4a39e2ee39933de0b7c70f7
Last active November 27, 2019 09:53
Plugin site issue
09:21:55.468 [qtp580024961-18] ERROR i.j.p.s.impl.HttpClientWikiService - Problem getting wiki content
com.google.common.cache.CacheLoader$InvalidCacheLoadException: CacheLoader returned null for key https://wiki.jenkins.io/display/JENKINS/Pipeline+Multibranch+Plugin.
at com.google.common.cache.LocalCache$Segment.getAndRecordStats(LocalCache.java:2354)
at com.google.common.cache.LocalCache$Segment.loadSync(LocalCache.java:2324)
at com.google.common.cache.LocalCache$Segment.lockedGetOrLoad(LocalCache.java:2286)
at com.google.common.cache.LocalCache$Segment.get(LocalCache.java:2201)
at com.google.common.cache.LocalCache.get(LocalCache.java:3953)
at com.google.common.cache.LocalCache.getOrLoad(LocalCache.java:3957)
at com.google.common.cache.LocalCache$LocalLoadingCache.get(LocalCache.java:4875)
at io.jenkins.plugins.services.impl.HttpClientWikiService.getWikiContent(HttpClientWikiService.java:81)
RoadMap:
Milestone 1:
INFRA-1797 Replace ACS Kubernetes cluster by AKS
Strong deadline 31 January 2020
To move 9 services
Milestone 2:
Refactor the way we distribution release packages
INFRA-1658 CDN costs analysis for Jenkins Packages
@olblak
olblak / gist:947b0826fee8fa07434d5827a9ea9292
Created November 19, 2019 10:19
Test if certificate match private key and certificate request
openssl pkey -in <your_private_key> -pubout -outform pem | sha256sum  ✔  10061  11:13:59
==
openssl x509 -in <your_certificate> -pubkey -noout -outform pem | sha256sum  ✔  10062  11:15:21
==
openssl req -in <your_certificate_request> -pubkey -noout -outform pem | sha256sum
@olblak
olblak / gist:831c2d6498c7fdfa84f03cdb71b8045a
Last active October 17, 2019 07:00
Pipe not connected
java.net.ProtocolException: Expected HTTP 101 response but was '500 Internal Server Error'
at okhttp3.internal.ws.RealWebSocket.checkResponse(RealWebSocket.java:229)
at okhttp3.internal.ws.RealWebSocket$2.onResponse(RealWebSocket.java:196)
at okhttp3.RealCall$AsyncCall.execute(RealCall.java:206)
at okhttp3.internal.NamedRunnable.run(NamedRunnable.java:32)
@olblak
olblak / gist:bbc70579c9a1a192ceb58e06645ec8a8
Created September 27, 2019 12:27
aci containers error log
Warning: JnlpProtocol3 is disabled by default, use JNLP_PROTOCOL_OPTS to alter the behavior
Sep 27, 2019 12:15:55 PM hudson.remoting.jnlp.Main createEngine
INFO: Setting up agent: aci-maven-60b1r
Sep 27, 2019 12:15:55 PM hudson.remoting.jnlp.Main$CuiListener <init>
INFO: Jenkins agent is running in headless mode.
Sep 27, 2019 12:15:56 PM hudson.remoting.Engine startEngine
INFO: Using Remoting version: 3.29
Sep 27, 2019 12:15:56 PM hudson.remoting.Engine startEngine
WARNING: No Working Directory. Using the legacy JAR Cache location: /root/.jenkins/cache/jars
Sep 27, 2019 12:15:56 PM hudson.remoting.jnlp.Main$CuiListener status