-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from cms-DQM/dev128
- Loading branch information
Showing
2 changed files
with
31 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,67 @@ | ||
# CMS DQMGUI | ||
|
||
## How to test PR | ||
## How to test PR | ||
|
||
For example, we need to test PR to GUI. Then, merge PR to the dev128 branch and create a tag from this branch. | ||
Setup enviroment: | ||
``` | ||
|
||
```bash | ||
ssh cmsdev20.cern.ch | ||
git clone [email protected]:cms-sw/cmsdist -b comp_gcc630 | ||
git clone [email protected]:cms-sw/pkgtools -b V00-33-XX | ||
``` | ||
|
||
update cmsdist/dqmgui.spec to use tag from dev128 branch and change the tag number (first line). Compile, build: | ||
``` | ||
|
||
```bash | ||
./pkgtools/cmsBuild --repo comp -a slc7_amd64_gcc630 -i w -j 10 build dqmgui | ||
``` | ||
|
||
probably, after this it is possible to move executables to P5 machine. | ||
This will create RPM file in the folder like: | ||
``` | ||
|
||
```bash | ||
w/BUILD/slc7_amd64_gcc630/cms/dqmgui/9.7.6-806fc9e67463bf3883214edfa77e3b6f | ||
``` | ||
|
||
To extract: | ||
``` | ||
|
||
```bash | ||
rpm2cpio myrpmfile.rpm | cpio -idmv | ||
``` | ||
|
||
Then at a srv machine we can do something like: | ||
``` | ||
|
||
```bash | ||
cd /data/srv | ||
cd ./stop_everything | ||
cp w/slc7_amd64_gcc630/cms/dqmgui/9.7.6-806fc9e67463bf3883214edfa77e3b6f/128/bin/visDQM* /data/srv/HG2206c/sw/slc7_amd64_gcc630/cms/dqmgui/9.7.4/128/bin/. | ||
``` | ||
Then | ||
``` | ||
|
||
Then | ||
|
||
```bash | ||
cd /dqmdata/dqm/repository/original/OnlineData/00035xxxx/0003525xx/ | ||
cp DQM_V0001_HLTpb_R000352572.root DQM_V0002_HLTpb_R000352572.root | ||
cp DQM_V0001_SiStrip_R000352572.root.dqminfo DQM_V0002_SiStrip_R000352572.root.dqminfo | ||
``` | ||
|
||
modify the path in `DQM_V0002_SiStrip_R000352572.root.dqminfo` and feed the file to indexer, check logs: | ||
``` | ||
|
||
```bash | ||
cp DQM_V0002_SiStrip_R000352572.root.dqminfo /dqmdata/dqm/agents/import-srv-c2f11-29-04/. | ||
nano /data/srv/logs/dqmgui/online/agent-import-128-20220602-srv-c2f11-29-04.log | ||
``` | ||
|
||
## Update Offline DQM GUI: | ||
Make and merge a PR into branch index128. Create a tag in dqmgui repo. Change GUI version in cmsdist (first line): | ||
`https://github.com/cms-sw/cmsdist/blob/comp_gcc630/dqmgui.spec` in branch comp_gcc630. | ||
Ask for the new version (cmsdist and dmwm/deployment PRs) to be added to the next CMSWEB release. | ||
Eg.: https://gitlab.cern.ch/cms-http-group/doc/issues/207 | ||
If you need a release urgently, ask for it to be tagged with an HG tag: (the new Lina) [email protected] dmwm/deployment PRs can be merged as patches during deployment (Online) | ||
## Update Offline DQM GUI | ||
|
||
Make and merge a PR into branch index128. Create a tag in dqmgui repo. Change GUI version in cmsdist (first line): | ||
`https://github.com/cms-sw/cmsdist/blob/comp_gcc630/dqmgui.spec` in branch comp_gcc630. | ||
Ask for the new version (cmsdist and dmwm/deployment PRs) to be added to the next CMSWEB release. | ||
Eg.: https://gitlab.cern.ch/cms-http-group/doc/issues/207 | ||
If you need a release urgently, ask for it to be tagged with an HG tag: (the new Lina) [email protected] dmwm/deployment PRs can be merged as patches during deployment (Online) | ||
|
||
## Continuous integration | ||
|
||
[Jenkins server](https://cms-dqmgui-ci.web.cern.ch/job/dqmgui-github/) uses `Jenkinsfile` to build. | ||
Slave `dqmgui-ci-worker` is configured to use the docker image produced [here](https://gitlab.cern.ch/rovere/dqmgui-ci-worker) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters